diff options
author | jsing <> | 2017-08-28 17:41:59 +0000 |
---|---|---|
committer | jsing <> | 2017-08-28 17:41:59 +0000 |
commit | 437b7aac4231ead6a94ceec52527723a4251d08f (patch) | |
tree | e8ae027147094ed282883c2e3f0c3fa11dca43e3 /src/lib/libcrypto/rsa/rsa_pmeth.c | |
parent | 5733d30e24c718396f0cb7a581715068ef000d42 (diff) | |
download | openbsd-437b7aac4231ead6a94ceec52527723a4251d08f.tar.gz openbsd-437b7aac4231ead6a94ceec52527723a4251d08f.tar.bz2 openbsd-437b7aac4231ead6a94ceec52527723a4251d08f.zip |
Remove RSA_padding_add_SSLv23()/RSA_padding_check_SSLv23() and related
code. We removed SSLv2/SSLv3 a long time ago...
Discussed with doug@
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_pmeth.c')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_pmeth.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_pmeth.c b/src/lib/libcrypto/rsa/rsa_pmeth.c index 2ef1f3c64a..b4a4e730c0 100644 --- a/src/lib/libcrypto/rsa/rsa_pmeth.c +++ b/src/lib/libcrypto/rsa/rsa_pmeth.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa_pmeth.c,v 1.19 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: rsa_pmeth.c,v 1.20 2017/08/28 17:41:59 jsing Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2006. | 3 | * project 2006. |
4 | */ | 4 | */ |
@@ -466,8 +466,6 @@ pkey_rsa_ctrl_str(EVP_PKEY_CTX *ctx, const char *type, const char *value) | |||
466 | int pm; | 466 | int pm; |
467 | if (!strcmp(value, "pkcs1")) | 467 | if (!strcmp(value, "pkcs1")) |
468 | pm = RSA_PKCS1_PADDING; | 468 | pm = RSA_PKCS1_PADDING; |
469 | else if (!strcmp(value, "sslv23")) | ||
470 | pm = RSA_SSLV23_PADDING; | ||
471 | else if (!strcmp(value, "none")) | 469 | else if (!strcmp(value, "none")) |
472 | pm = RSA_NO_PADDING; | 470 | pm = RSA_NO_PADDING; |
473 | else if (!strcmp(value, "oeap")) | 471 | else if (!strcmp(value, "oeap")) |