Allow any supported cipher to be used with smime -encrypt.

This commit is contained in:
Dr. Stephen Henson 2006-05-25 16:53:52 +00:00
parent 3207e61222
commit c27309edcb

View File

@ -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++;
}