summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bntest.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-02-24 20:13:27 +0000
committerBodo Möller <bodo@openssl.org>2000-02-24 20:13:27 +0000
commit0dd0cbf554f0211e49daed346a6a77587c681c22 (patch)
tree7f7dbec263c5f1248a113c0681b0b1cc4a9edbf1 /crypto/bn/bntest.c
parenta610374cb256fd2743b8cd956b7b430f916ee41a (diff)
Do fflush(stdout) when there was an error.
Diffstat (limited to 'crypto/bn/bntest.c')
-rw-r--r--crypto/bn/bntest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bn/bntest.c b/crypto/bn/bntest.c
index 503c4f3901..fe544ad155 100644
--- a/crypto/bn/bntest.c
+++ b/crypto/bn/bntest.c
@@ -235,6 +235,7 @@ int main(int argc, char *argv[])
exit(0);
err:
BIO_puts(out,"1\n"); /* make sure bc fails if we are piping to it */
+ fflush(stdout);
ERR_load_crypto_strings();
ERR_print_errors_fp(stderr);
exit(1);