diff options
author | Rich Salz <rsalz@akamai.com> | 2021-02-22 12:55:25 -0500 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-03-01 10:56:12 +0100 |
commit | b0aae913246af1d07e728d24f53f55028f61c696 (patch) | |
tree | 472478434dd9894a817e00d4eb56dd8197cc717a /apps/rsautl.c | |
parent | d546e8e267bfddc1ca310dfa8b9a72ab4f9aac7c (diff) |
Remove RSA SSLv23 padding mode
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14248)
Diffstat (limited to 'apps/rsautl.c')
-rw-r--r-- | apps/rsautl.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/rsautl.c b/apps/rsautl.c index ef0b1f66c7..05b2b189af 100644 --- a/apps/rsautl.c +++ b/apps/rsautl.c @@ -28,7 +28,7 @@ typedef enum OPTION_choice { OPT_ERR = -1, OPT_EOF = 0, OPT_HELP, OPT_ENGINE, OPT_IN, OPT_OUT, OPT_ASN1PARSE, OPT_HEXDUMP, - OPT_RSA_RAW, OPT_OAEP, OPT_SSL, OPT_PKCS, OPT_X931, + OPT_RSA_RAW, OPT_OAEP, OPT_PKCS, OPT_X931, OPT_SIGN, OPT_VERIFY, OPT_REV, OPT_ENCRYPT, OPT_DECRYPT, OPT_PUBIN, OPT_CERTIN, OPT_INKEY, OPT_PASSIN, OPT_KEYFORM, OPT_R_ENUM, OPT_PROV_ENUM @@ -56,7 +56,6 @@ const OPTIONS rsautl_options[] = { OPT_SECTION("Output"), {"out", OPT_OUT, '>', "Output file"}, - {"ssl", OPT_SSL, '-', "Use SSL v2 padding"}, {"raw", OPT_RSA_RAW, '-', "Use no padding"}, {"pkcs", OPT_PKCS, '-', "Use PKCS#1 v1.5 padding (default)"}, {"x931", OPT_X931, '-', "Use ANSI X9.31 padding"}, @@ -123,9 +122,6 @@ int rsautl_main(int argc, char **argv) case OPT_OAEP: pad = RSA_PKCS1_OAEP_PADDING; break; - case OPT_SSL: - pad = RSA_SSLV23_PADDING; - break; case OPT_PKCS: pad = RSA_PKCS1_PADDING; break; |