mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Allow any supported cipher to be used with smime -encrypt.
This commit is contained in:
parent
3207e61222
commit
c27309edcb
@ -348,7 +348,7 @@ int MAIN(int argc, char **argv)
|
||||
}
|
||||
else if (args_verify(&args, NULL, &badarg, bio_err, &vpm))
|
||||
continue;
|
||||
else
|
||||
else if ((cipher = EVP_get_cipherbyname(*args + 1)) == NULL)
|
||||
badarg = 1;
|
||||
args++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user