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/bntest.c | |
parent | bdd58d98467e9f0f6635c1628e1eae304383afb1 (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/bntest.c')
-rw-r--r-- | test/bntest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bntest.c b/test/bntest.c index effbd75246..675d0eb261 100644 --- a/test/bntest.c +++ b/test/bntest.c @@ -168,7 +168,7 @@ int main(int argc, char *argv[]) if (out == NULL) EXIT(1); if (outfile == NULL) { - BIO_set_fp(out, stdout, BIO_NOCLOSE); + BIO_set_fp(out, stdout, BIO_NOCLOSE | BIO_FP_TEXT); } else { if (!BIO_write_filename(out, outfile)) { perror(outfile); |