summaryrefslogtreecommitdiffstats
path: root/test/ecdsatest.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-09-04 14:07:57 +0200
committerRichard Levitte <levitte@openssl.org>2015-09-06 01:35:54 +0200
commit0f81f5f78c06bd69a96deb66cd30e50a67310ef2 (patch)
tree1300b7ffd0ac4003bc4248df06df4c31e260bd7a /test/ecdsatest.c
parentChange the way apps open their input and output files (diff)
downloadopenssl-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.c2
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) &&