summaryrefslogtreecommitdiffstats
path: root/test/dsatest.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/dsatest.c
parentbdd58d98467e9f0f6635c1628e1eae304383afb1 (diff)
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/dsatest.c')
-rw-r--r--test/dsatest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dsatest.c b/test/dsatest.c
index e138c64147..1f4b8379c4 100644
--- a/test/dsatest.c
+++ b/test/dsatest.c
@@ -136,7 +136,7 @@ int main(int argc, char **argv)
unsigned int siglen;
if (bio_err == NULL)
- bio_err = BIO_new_fp(stderr, BIO_NOCLOSE);
+ bio_err = BIO_new_fp(stderr, BIO_NOCLOSE | BIO_FP_TEXT);
CRYPTO_malloc_debug_init();
CRYPTO_dbg_set_options(V_CRYPTO_MDEBUG_ALL);