Commit 0dd0cbf5 authored by Bodo Möller's avatar Bodo Möller
Browse files

Do fflush(stdout) when there was an error.

parent a610374c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);