Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15747)
goto end;
}
if (ciphername != NULL) {
- if (!opt_cipher(ciphername, &cipher))
+ if (!opt_cipher_any(ciphername, &cipher))
goto end;
}
if (wrapname != NULL) {
- if (!opt_cipher(wrapname, &wrap_cipher))
+ if (!opt_cipher_any(wrapname, &wrap_cipher))
goto end;
}
goto end;
if (ciphername != NULL) {
- if (!opt_cipher(ciphername, &enc))
+ if (!opt_cipher_any(ciphername, &enc))
goto opthelp;
}
if (export_pkcs12) {
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)) {