php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #69195
Patch tls_method.diff revision 2015-10-21 19:16 UTC by stu-php-bugs at spacehopper dot org
Patch sslv23.patch revision 2015-03-05 17:35 UTC by bjori@php.net

Patch sslv23.patch for OpenSSL related Bug #69195

Patch version 2015-03-05 17:35 UTC

Return to Bug #69195 | Download this patch
Patch Revisions:

Developer: bjori@php.net

From 55a7695c2a729f5cefc1ab1ab3c975dfee22bdd4 Mon Sep 17 00:00:00 2001
From: Hannes Magnusson <bjori@mongodb.com>
Date: Thu, 5 Mar 2015 09:33:40 -0800
Subject: [PATCH] Fixed bug #69195 (STREAM_CRYPTO_METHOD_SSLv23_CLIENT no
 longer includes TLS)

---
 main/streams/php_stream_transport.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/streams/php_stream_transport.h b/main/streams/php_stream_transport.h
index a47f669..bd2e1d9 100644
--- a/main/streams/php_stream_transport.h
+++ b/main/streams/php_stream_transport.h
@@ -167,7 +167,7 @@ typedef struct _php_stream_xport_param {
 typedef enum {
 	STREAM_CRYPTO_METHOD_SSLv2_CLIENT = (1 << 1 | 1),
 	STREAM_CRYPTO_METHOD_SSLv3_CLIENT = (1 << 2 | 1),
-	STREAM_CRYPTO_METHOD_SSLv23_CLIENT = ((1 << 1) | (1 << 2) | 1),
+	STREAM_CRYPTO_METHOD_SSLv23_CLIENT = ((1 << 1) | (1 << 2) | (1 << 3) | (1 << 4) | (1 << 5) | 1),
 	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),
-- 
2.1.0

 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC