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 ca30276d29d05a168ca5d7789b8cff0026505451..6c93e1722daaadbbb87c4ad13361a459045c5e6f 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);