apps: use get_cipher_any() instead of get_cipher() for commands that support these...
[openssl.git] / apps / smime.c
index ea71121fb421fbf7abf1fd3d98440701f587cce2..a2ff0b5be75c834894be863a74155e1f09b39f68 100644 (file)
@@ -367,7 +367,7 @@ int smime_main(int argc, char **argv)
             goto opthelp;
     }
     if (ciphername != NULL) {
-        if (!opt_cipher(ciphername, &cipher))
+        if (!opt_cipher_any(ciphername, &cipher))
             goto opthelp;
     }
     if (!(operation & SMIME_SIGNERS) && (skkeys != NULL || sksigners != NULL)) {