diff options
author | Richard Levitte <levitte@openssl.org> | 2015-09-04 14:07:57 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-09-06 01:35:54 +0200 |
commit | 0f81f5f78c06bd69a96deb66cd30e50a67310ef2 (patch) | |
tree | 1300b7ffd0ac4003bc4248df06df4c31e260bd7a /test/ecdsatest.c | |
parent | Change the way apps open their input and output files (diff) | |
download | openssl-0f81f5f78c06bd69a96deb66cd30e50a67310ef2.tar.xz openssl-0f81f5f78c06bd69a96deb66cd30e50a67310ef2.zip |
Have the test executables output in text mode
The test executables use standard output and standard error for text output,
so let's open the corresponding BIOs in text mode.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'test/ecdsatest.c')
-rw-r--r-- | test/ecdsatest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ecdsatest.c b/test/ecdsatest.c index 4b6d0444bf..2cf1725d6a 100644 --- a/test/ecdsatest.c +++ b/test/ecdsatest.c @@ -510,7 +510,7 @@ int main(void) int ret = 1; BIO *out; - out = BIO_new_fp(stdout, BIO_NOCLOSE); + out = BIO_new_fp(stdout, BIO_NOCLOSE | BIO_FP_TEXT); /* enable memory leak checking unless explicitly disabled */ if (!((getenv("OPENSSL_DEBUG_MEMORY") != NULL) && |