Have the test executables output in text mode
[openssl.git] / test / exptest.c
index 2da8dc2ffe9564beb242a9cb6a454ef470ef6829..97b74d98d9e1390938ae1a489098612ee299b480 100644 (file)
@@ -151,7 +151,7 @@ int main(int argc, char *argv[])
 
     if (out == NULL)
         EXIT(1);
-    BIO_set_fp(out, stdout, BIO_NOCLOSE);
+    BIO_set_fp(out, stdout, BIO_NOCLOSE | BIO_FP_TEXT);
 
     for (i = 0; i < 200; i++) {
         RAND_bytes(&c, 1);