diff options
| author | jsing <> | 2017-08-30 16:07:35 +0000 |
|---|---|---|
| committer | jsing <> | 2017-08-30 16:07:35 +0000 |
| commit | e93767c2b5f30f3ec6c7482212044b9300295b55 (patch) | |
| tree | e835cd2339cb36484776b59b86ac38f83f7c9e4e /src/lib/libc | |
| parent | f9ba584b3e1e3b1ab722586ccbeebc121bccee44 (diff) | |
| download | openbsd-e93767c2b5f30f3ec6c7482212044b9300295b55.tar.gz openbsd-e93767c2b5f30f3ec6c7482212044b9300295b55.tar.bz2 openbsd-e93767c2b5f30f3ec6c7482212044b9300295b55.zip | |
Bring back the RSA_SSLV23_PADDING define.
Several pieces of software expect this to be available unconditionally.
Diffstat (limited to '')
| -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 |
