apps: use get_cipher_any() instead of get_cipher() for commands that support these...
[openssl.git] / apps / pkcs12.c
index 5df5cb78ced33cad75d6f36f26f1202bca86fee0..1234a698922a2da1e53a90f434020847cd5dd0f1 100644 (file)
@@ -364,7 +364,7 @@ int pkcs12_main(int argc, char **argv)
         goto end;
 
     if (ciphername != NULL) {
-        if (!opt_cipher(ciphername, &enc))
+        if (!opt_cipher_any(ciphername, &enc))
             goto opthelp;
     }
     if (export_pkcs12) {