add ERR_print_errors after "end" label.
authorBodo Möller <bodo@openssl.org>
Fri, 21 Jan 2000 11:30:52 +0000 (11:30 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 21 Jan 2000 11:30:52 +0000 (11:30 +0000)
apps/enc.c

index ca30276..6c93e17 100644 (file)
@@ -567,6 +567,7 @@ bad:
                BIO_printf(bio_err,"bytes written:%8ld\n",BIO_number_written(out));
                }
 end:
+       ERR_print_errors(bio_err);
        if (strbuf != NULL) Free(strbuf);
        if (buff != NULL) Free(buff);
        if (in != NULL) BIO_free(in);