Fix but in apps/pkcs12.c
PR: 1377
This commit is contained in:
@@ -180,7 +180,8 @@ int MAIN(int argc, char **argv)
|
|||||||
args++;
|
args++;
|
||||||
if (!strcmp(*args, "NONE"))
|
if (!strcmp(*args, "NONE"))
|
||||||
cert_pbe = -1;
|
cert_pbe = -1;
|
||||||
cert_pbe=OBJ_txt2nid(*args);
|
else
|
||||||
|
cert_pbe=OBJ_txt2nid(*args);
|
||||||
if(cert_pbe == NID_undef) {
|
if(cert_pbe == NID_undef) {
|
||||||
BIO_printf(bio_err,
|
BIO_printf(bio_err,
|
||||||
"Unknown PBE algorithm %s\n", *args);
|
"Unknown PBE algorithm %s\n", *args);
|
||||||
|
|||||||
Reference in New Issue
Block a user