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.h | |
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.h')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index febeb297d0..777f2fed9e 100644 --- a/src/lib/libcrypto/rsa/rsa.h +++ b/src/lib/libcrypto/rsa/rsa.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rsa.h,v 1.29 2016/09/04 17:25:27 jsing Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.30 2017/08/28 17:41:59 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -242,7 +242,6 @@ struct rsa_st { | |||
242 | #define EVP_PKEY_CTRL_GET_RSA_MGF1_MD (EVP_PKEY_ALG_CTRL + 8) | 242 | #define EVP_PKEY_CTRL_GET_RSA_MGF1_MD (EVP_PKEY_ALG_CTRL + 8) |
243 | 243 | ||
244 | #define RSA_PKCS1_PADDING 1 | 244 | #define RSA_PKCS1_PADDING 1 |
245 | #define RSA_SSLV23_PADDING 2 | ||
246 | #define RSA_NO_PADDING 3 | 245 | #define RSA_NO_PADDING 3 |
247 | #define RSA_PKCS1_OAEP_PADDING 4 | 246 | #define RSA_PKCS1_OAEP_PADDING 4 |
248 | #define RSA_X931_PADDING 5 | 247 | #define RSA_X931_PADDING 5 |
@@ -367,10 +366,6 @@ int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen, | |||
367 | int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, | 366 | int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen, |
368 | const unsigned char *f, int fl, int rsa_len, | 367 | const unsigned char *f, int fl, int rsa_len, |
369 | const unsigned char *p, int pl); | 368 | const unsigned char *p, int pl); |
370 | int RSA_padding_add_SSLv23(unsigned char *to, int tlen, | ||
371 | const unsigned char *f, int fl); | ||
372 | int RSA_padding_check_SSLv23(unsigned char *to, int tlen, | ||
373 | const unsigned char *f, int fl, int rsa_len); | ||
374 | int RSA_padding_add_none(unsigned char *to, int tlen, | 369 | int RSA_padding_add_none(unsigned char *to, int tlen, |
375 | const unsigned char *f, int fl); | 370 | const unsigned char *f, int fl); |
376 | int RSA_padding_check_none(unsigned char *to, int tlen, | 371 | int RSA_padding_check_none(unsigned char *to, int tlen, |
@@ -464,13 +459,11 @@ void ERR_load_RSA_strings(void); | |||
464 | #define RSA_F_RSA_PADDING_ADD_PKCS1_PSS_MGF1 148 | 459 | #define RSA_F_RSA_PADDING_ADD_PKCS1_PSS_MGF1 148 |
465 | #define RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1 108 | 460 | #define RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_1 108 |
466 | #define RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_2 109 | 461 | #define RSA_F_RSA_PADDING_ADD_PKCS1_TYPE_2 109 |
467 | #define RSA_F_RSA_PADDING_ADD_SSLV23 110 | ||
468 | #define RSA_F_RSA_PADDING_ADD_X931 127 | 462 | #define RSA_F_RSA_PADDING_ADD_X931 127 |
469 | #define RSA_F_RSA_PADDING_CHECK_NONE 111 | 463 | #define RSA_F_RSA_PADDING_CHECK_NONE 111 |
470 | #define RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP 122 | 464 | #define RSA_F_RSA_PADDING_CHECK_PKCS1_OAEP 122 |
471 | #define RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1 112 | 465 | #define RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_1 112 |
472 | #define RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_2 113 | 466 | #define RSA_F_RSA_PADDING_CHECK_PKCS1_TYPE_2 113 |
473 | #define RSA_F_RSA_PADDING_CHECK_SSLV23 114 | ||
474 | #define RSA_F_RSA_PADDING_CHECK_X931 128 | 467 | #define RSA_F_RSA_PADDING_CHECK_X931 128 |
475 | #define RSA_F_RSA_PRINT 115 | 468 | #define RSA_F_RSA_PRINT 115 |
476 | #define RSA_F_RSA_PRINT_FP 116 | 469 | #define RSA_F_RSA_PRINT_FP 116 |