Permalink
Browse files

Restore SSL_OP_MSIE_SSLV2_RSA_PADDING

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.
(cherry picked from commit b17d6b8)
  • Loading branch information...
1 parent f3a3903 commit 3c6c139a07353b9fc4b27feb33a089cca346ce75 @snhenson snhenson committed Jan 4, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 ssl/ssl.h
View
3 ssl/ssl.h
@@ -669,6 +669,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

0 comments on commit 3c6c139

Please sign in to comment.