diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-04-24 19:54:05 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-04-24 19:54:05 +0000 |
commit | 0f33f95447b6eeab2211970563dc582d85377628 (patch) | |
tree | 8006215c06bdd457957c53d4f1625e4c4e8fbf63 /lib/libssl/ssl.h | |
parent | cba18bc9fdb6ffd230702f69a32e342e7768d2c3 (diff) |
Bring back the SSL_OP_PKCS1_CHECK_* defines (defined to zero, as they already
were), after stumbling upon code (mis)using them in the wild.
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r-- | lib/libssl/ssl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index d3c7908a26c..cc77a8f2bd1 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -599,6 +599,10 @@ struct ssl_session_st { #define SSL_OP_NO_TLSv1_2 0x08000000L #define SSL_OP_NO_TLSv1_1 0x10000000L +/* Obsolete flags kept for compatibility. No sane code should use them. */ +#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 |