diff options
author | 2014-04-23 22:26:25 +0000 | |
---|---|---|
committer | 2014-04-23 22:26:25 +0000 | |
commit | d9cb48f882a31ae39da17bf8b2fe278c00f07c93 (patch) | |
tree | ac8cb3d43f14fc6b97118b1ac89453a157938d8c /lib/libssl/src/ssl/ssl.h | |
parent | ain't nobody got time for hpux (diff) | |
download | wireguard-openbsd-d9cb48f882a31ae39da17bf8b2fe278c00f07c93.tar.xz wireguard-openbsd-d9cb48f882a31ae39da17bf8b2fe278c00f07c93.zip |
Unifdef -UPKCS1_CHECK and remove SSL_OP_PKCS1_CHECK_[12], this is leftover
``debug'' code from a 15+ years old bugfix and the SSL_OP_PKCS1_CHECK_*
constants have had a value of zero since ages. No production code should use
them.
ok beck@
Diffstat (limited to 'lib/libssl/src/ssl/ssl.h')
-rw-r--r-- | lib/libssl/src/ssl/ssl.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libssl/src/ssl/ssl.h b/lib/libssl/src/ssl/ssl.h index 3624bdcccd8..d3c7908a26c 100644 --- a/lib/libssl/src/ssl/ssl.h +++ b/lib/libssl/src/ssl/ssl.h @@ -599,14 +599,6 @@ struct ssl_session_st { #define SSL_OP_NO_TLSv1_2 0x08000000L #define SSL_OP_NO_TLSv1_1 0x10000000L -/* These next two were never actually used for anything since SSLeay - * zap so we have some more flags. - */ -/* The next flag deliberately changes the ciphertest, this is a check - * for the PKCS#1 attack */ -#define SSL_OP_PKCS1_CHECK_1 0x0 -#define SSL_OP_PKCS1_CHECK_2 0x0 - #define SSL_OP_NETSCAPE_CA_DN_BUG 0x20000000L #define SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG 0x40000000L /* Make server add server-hello extension from early version of |