diff options
author | jsing <> | 2017-08-30 16:07:35 +0000 |
---|---|---|
committer | jsing <> | 2017-08-30 16:07:35 +0000 |
commit | 904c3ecb2202e57cd063e81eb9ea753ef753ea1b (patch) | |
tree | e835cd2339cb36484776b59b86ac38f83f7c9e4e | |
parent | d9ae7f29420b87a3277833312317cff256b3d9b2 (diff) | |
download | openbsd-904c3ecb2202e57cd063e81eb9ea753ef753ea1b.tar.gz openbsd-904c3ecb2202e57cd063e81eb9ea753ef753ea1b.tar.bz2 openbsd-904c3ecb2202e57cd063e81eb9ea753ef753ea1b.zip |
Bring back the RSA_SSLV23_PADDING define.
Several pieces of software expect this to be available unconditionally.
-rw-r--r-- | src/lib/libcrypto/rsa/rsa.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h index 777f2fed9e..7476a1164a 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.30 2017/08/28 17:41:59 jsing Exp $ */ | 1 | /* $OpenBSD: rsa.h,v 1.31 2017/08/30 16:07:35 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,6 +242,7 @@ 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 | ||
245 | #define RSA_NO_PADDING 3 | 246 | #define RSA_NO_PADDING 3 |
246 | #define RSA_PKCS1_OAEP_PADDING 4 | 247 | #define RSA_PKCS1_OAEP_PADDING 4 |
247 | #define RSA_X931_PADDING 5 | 248 | #define RSA_X931_PADDING 5 |