diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-05-25 16:53:52 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-05-25 16:53:52 +0000 |
commit | c27309edcb2fba1fed691962d6e8f551f0dff31b (patch) | |
tree | 696597894697e91bdebcc6580b24357a9a0f2a20 | |
parent | 3207e61222eb21b7c2e4b9e0a0de6998af36d34e (diff) |
Allow any supported cipher to be used with smime -encrypt.
-rw-r--r-- | apps/smime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/smime.c b/apps/smime.c index 8d356b5b21..c5453eafe2 100644 --- a/apps/smime.c +++ b/apps/smime.c @@ -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++; } |