Patch tls_method.diff for OpenSSL related Bug #69195
Patch version 2015-10-21 19:16 UTC
Return to Bug #69195 |
Download this patch
Patch Revisions:
Developer: stu-php-bugs@spacehopper.org
--- main/streams/php_stream_transport.h.orig Wed Oct 21 18:00:04 2015
+++ main/streams/php_stream_transport.h Wed Oct 21 19:40:01 2015
@@ -174,9 +174,7 @@ typedef enum {
STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT = (1 << 3 | 1),
STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT = (1 << 4 | 1),
STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT = (1 << 5 | 1),
- /* tls now equates only to the specific TLSv1 method for BC with pre-5.6 */
- STREAM_CRYPTO_METHOD_TLS_CLIENT = (1 << 3 | 1),
- STREAM_CRYPTO_METHOD_TLS_ANY_CLIENT = ((1 << 3) | (1 << 4) | (1 << 5) | 1),
+ STREAM_CRYPTO_METHOD_TLS_CLIENT = ((1 << 3) | (1 << 4) | (1 << 5) | 1),
STREAM_CRYPTO_METHOD_ANY_CLIENT = ((1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) | (1 << 5) | 1),
STREAM_CRYPTO_METHOD_SSLv2_SERVER = (1 << 1),
STREAM_CRYPTO_METHOD_SSLv3_SERVER = (1 << 2),
@@ -185,9 +183,7 @@ typedef enum {
STREAM_CRYPTO_METHOD_TLSv1_0_SERVER = (1 << 3),
STREAM_CRYPTO_METHOD_TLSv1_1_SERVER = (1 << 4),
STREAM_CRYPTO_METHOD_TLSv1_2_SERVER = (1 << 5),
- /* tls equates only to the specific TLSv1 method for BC with pre-5.6 */
- STREAM_CRYPTO_METHOD_TLS_SERVER = (1 << 3),
- STREAM_CRYPTO_METHOD_TLS_ANY_SERVER = ((1 << 3) | (1 << 4) | (1 << 5)),
+ STREAM_CRYPTO_METHOD_TLS_SERVER = ((1 << 3) | (1 << 4) | (1 << 5)),
STREAM_CRYPTO_METHOD_ANY_SERVER = ((1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) | (1 << 5))
} php_stream_xport_crypt_method_t;
|