From 1a5e414863a1c29bc6f88e4ae1d662f2e71e4969 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 22 Sep 2006 00:28:37 +0000 Subject: Fix but in apps/pkcs12.c PR: 1377 --- apps/pkcs12.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/pkcs12.c') diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 308f9208a1..688a0cee60 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -180,7 +180,8 @@ int MAIN(int argc, char **argv) args++; if (!strcmp(*args, "NONE")) cert_pbe = -1; - cert_pbe=OBJ_txt2nid(*args); + else + cert_pbe=OBJ_txt2nid(*args); if(cert_pbe == NID_undef) { BIO_printf(bio_err, "Unknown PBE algorithm %s\n", *args); -- cgit v1.2.3