Do fflush(stdout) when there was an error.
authorBodo Möller <bodo@openssl.org>
Thu, 24 Feb 2000 20:13:27 +0000 (20:13 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 24 Feb 2000 20:13:27 +0000 (20:13 +0000)
crypto/bn/bntest.c

index 503c4f3..fe544ad 100644 (file)
@@ -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);