summaryrefslogtreecommitdiffstats
path: root/test/dhtest.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/dhtest.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/dhtest.c')
-rw-r--r--test/dhtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dhtest.c b/test/dhtest.c
index 7e46166eeb..9ce92ee392 100644
--- a/test/dhtest.c
+++ b/test/dhtest.c
@@ -107,7 +107,7 @@ int main(int argc, char *argv[])
out = BIO_new(BIO_s_file());
if (out == NULL)
EXIT(1);
- BIO_set_fp(out, stdout, BIO_NOCLOSE);
+ BIO_set_fp(out, stdout, BIO_NOCLOSE | BIO_FP_TEXT);
_cb = BN_GENCB_new();
if (!_cb)