php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #69088
Patch php_curl-win32-initialize-sspi revision 2015-02-20 12:15 UTC by grant at digitaldj dot net

Patch php_curl-win32-initialize-sspi for cURL related Bug #69088

Patch version 2015-02-20 12:15 UTC

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

Developer: grant@digitaldj.net

diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index f7f6a5e..4354dcd
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -1239,7 +1239,7 @@ PHP_MINIT_FUNCTION(curl)
 	gcry_control(GCRYCTL_SET_THREAD_CBS, &php_curl_gnutls_tsl);
 #endif
 
-	if (curl_global_init(CURL_GLOBAL_SSL) != CURLE_OK) {
+	if (curl_global_init(CURL_GLOBAL_DEFAULT) != CURLE_OK) {
 		return FAILURE;
 	}
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 11:01:29 2024 UTC