提交 ee86c3f5 编写于 作者: B Bodo Möller

Marked probable bug, pointed out by Anonymous.

上级 e1a228fb
...@@ -371,6 +371,8 @@ if (export_cert) { ...@@ -371,6 +371,8 @@ if (export_cert) {
if (canames) sk_free(canames); if (canames) sk_free(canames);
/* if (!pmatch) ...? What should happen here? XXX */
if(!noprompt && if(!noprompt &&
EVP_read_pw_string(pass, 50, "Enter Export Password:", 1)) { EVP_read_pw_string(pass, 50, "Enter Export Password:", 1)) {
BIO_printf (bio_err, "Can't read Password\n"); BIO_printf (bio_err, "Can't read Password\n");
...@@ -421,7 +423,7 @@ if (export_cert) { ...@@ -421,7 +423,7 @@ if (export_cert) {
ret = 0; ret = 0;
goto end; goto end;
} }
if (!(p12 = d2i_PKCS12_bio (in, NULL))) { if (!(p12 = d2i_PKCS12_bio (in, NULL))) {
ERR_print_errors(bio_err); ERR_print_errors(bio_err);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册