diff options
author | David von Oheimb <David.von.Oheimb@siemens.com> | 2017-12-14 11:10:33 +0100 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-11-19 11:36:02 +0100 |
commit | 9c73e48a081278f18f3203efca980ddfa873e71f (patch) | |
tree | 393192b81dd4002526c99474374e5b5a6f152f29 /apps/pkcs12.c | |
parent | apps/ca: Minor code and doc cleanup (diff) | |
download | openssl-9c73e48a081278f18f3203efca980ddfa873e71f.tar.xz openssl-9c73e48a081278f18f3203efca980ddfa873e71f.zip |
Minor cleanup of error output for various apps
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/4930)
Diffstat (limited to 'apps/pkcs12.c')
-rw-r--r-- | apps/pkcs12.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 1432d2b930..2c4e11a410 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -596,7 +596,8 @@ int pkcs12_main(int argc, char **argv) key_pbe, cert_pbe, iter, -1, keytype); if (p12 == NULL) { - ERR_print_errors(bio_err); + BIO_printf(bio_err, "Error creating PKCS12 structure for %s\n", + outfile); goto export_end; } @@ -625,6 +626,7 @@ int pkcs12_main(int argc, char **argv) sk_X509_pop_free(untrusted_certs, X509_free); X509_free(ee_cert); + ERR_print_errors(bio_err); goto end; } |