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>
This commit is contained in:
Richard Levitte
2015-09-04 14:07:57 +02:00
parent bdd58d9846
commit 0f81f5f78c
9 changed files with 9 additions and 9 deletions

View File

@@ -1310,7 +1310,7 @@ int main(int argc, char *argv[])
if (fips_mode) {
if (!FIPS_mode_set(1)) {
ERR_load_crypto_strings();
ERR_print_errors(BIO_new_fp(stderr, BIO_NOCLOSE));
ERR_print_errors(bio_err);
EXIT(1);
} else
fprintf(stderr, "*** IN FIPS MODE ***\n");