aboutsummaryrefslogtreecommitdiffstats
path: root/apps/pkcs12.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-05-16 12:01:49 +0000
committerBodo Möller <bodo@openssl.org>1999-05-16 12:01:49 +0000
commitee86c3f53d205582aae2f3cd320b16d011c355a7 (patch)
tree197daf5ce17dd8c24b6778b23e11f674b7858def /apps/pkcs12.c
parente1a228fbce11bde4ed2468f0a2486b57a9ad461f (diff)
downloadopenssl-ee86c3f53d205582aae2f3cd320b16d011c355a7.tar.gz
Marked probable bug, pointed out by Anonymous.
Diffstat (limited to 'apps/pkcs12.c')
-rw-r--r--apps/pkcs12.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index e41c5677a8..0fe519ff17 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -371,6 +371,8 @@ if (export_cert) {
if (canames) sk_free(canames);
+ /* if (!pmatch) ...? What should happen here? XXX */
+
if(!noprompt &&
EVP_read_pw_string(pass, 50, "Enter Export Password:", 1)) {
BIO_printf (bio_err, "Can't read Password\n");
@@ -421,7 +423,7 @@ if (export_cert) {
ret = 0;
goto end;
-}
+ }
if (!(p12 = d2i_PKCS12_bio (in, NULL))) {
ERR_print_errors(bio_err);