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 503c4f390135f8143b126d8fd9f723255271b4c9..fe544ad1559e933aa08d077f2b8f6f91d434f9d4 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 */
        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);
        ERR_load_crypto_strings();
        ERR_print_errors_fp(stderr);
        exit(1);