Commits

Ruslan Osmanov committed 1a7c065

Fix: typos in SSL/TLS*_client_method() macro calls

  • Participants
  • Parent commits f7660c2

Comments (0)

Files changed (1)

File classes/ssl_context.c

 
 	switch (in_method) {
     	case PHP_EVENT_SSLv2_CLIENT_METHOD:
-    		method = (SSL_METHOD *) SSLv2_method();
+    		method = (SSL_METHOD *) SSLv2_client_method();
 			break;
     	case PHP_EVENT_SSLv3_CLIENT_METHOD:
-    		method = (SSL_METHOD *) SSLv3_method();
+    		method = (SSL_METHOD *) SSLv3_client_method();
 			break;
     	case PHP_EVENT_SSLv23_CLIENT_METHOD:
-    		method = (SSL_METHOD *) SSLv23_method();
+    		method = (SSL_METHOD *) SSLv23_client_method();
 			break;
     	case PHP_EVENT_TLS_CLIENT_METHOD:
-    		method = (SSL_METHOD *) TLSv1_method();
+    		method = (SSL_METHOD *) TLSv1_client_method();
 			break;
     	case PHP_EVENT_SSLv2_SERVER_METHOD:
     		method = (SSL_METHOD *) SSLv2_server_method();