From a89835f7e0e4f8155f658af486b93956feaae61d Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 15 Jun 2021 14:07:25 +1000 Subject: apps: use get_cipher_any() instead of get_cipher() for commands that support these ciphers/modes Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/15747) --- apps/smime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/smime.c') diff --git a/apps/smime.c b/apps/smime.c index ea71121fb4..a2ff0b5be7 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -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)) { -- cgit v1.2.3