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))
|
else if (args_verify(&args, NULL, &badarg, bio_err, &vpm))
|
||||||
continue;
|
continue;
|
||||||
else
|
else if ((cipher = EVP_get_cipherbyname(*args + 1)) == NULL)
|
||||||
badarg = 1;
|
badarg = 1;
|
||||||
args++;
|
args++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user