From c27309edcb2fba1fed691962d6e8f551f0dff31b Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 25 May 2006 16:53:52 +0000 Subject: [PATCH] Allow any supported cipher to be used with smime -encrypt. --- apps/smime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- GitLab