Restore SSL_OP_MSIE_SSLV2_RSA_PADDING
authorDr. Stephen Henson <steve@openssl.org>
Sat, 4 Jan 2014 13:50:52 +0000 (13:50 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 4 Jan 2014 13:58:51 +0000 (13:58 +0000)
The flag SSL_OP_MSIE_SSLV2_RSA_PADDING hasn't done anything since OpenSSL
0.9.7h but deleting it will break source compatibility with any software
that references it. Restore it but #define to zero.

ssl/ssl.h

index 5e07f7eef6bee62c33dc01689965318e19ae6aae..b84e549ed37480723ecf25c495f25da06ca45359 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -620,6 +620,9 @@ struct ssl_session_st
 #define SSL_OP_TLS_D5_BUG                              0x00000100L
 #define SSL_OP_TLS_BLOCK_PADDING_BUG                   0x00000200L
 
+/* Hasn't done anything since OpenSSL 0.9.7h, retained for compatibility */
+#define SSL_OP_MSIE_SSLV2_RSA_PADDING                  0x0
+
 /* Disable SSL 3.0/TLS 1.0 CBC vulnerability workaround that was added
  * in OpenSSL 0.9.6d.  Usually (depending on the application protocol)
  * the workaround is not needed.  Unfortunately some broken SSL/TLS