php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #54473
Patch OPENSSL_config revision 2011-04-26 18:20 UTC by andrew at ei-grad dot ru
Patch load-engines revision 2011-04-05 21:39 UTC by crrodriguez at opensuse dot org

Patch OPENSSL_config for OpenSSL related Bug #54473

Patch version 2011-04-26 18:20 UTC

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

Developer: andrew@ei-grad.ru

--- ext/openssl/openssl.c.orig	2011-02-21 17:47:38.000000000 +0500
+++ ext/openssl/openssl.c	2011-04-27 00:19:06.039046744 +0600
@@ -979,6 +979,7 @@
 	le_x509 = zend_register_list_destructors_ex(php_x509_free, NULL, "OpenSSL X.509", module_number);
 	le_csr = zend_register_list_destructors_ex(php_csr_free, NULL, "OpenSSL X.509 CSR", module_number);
 
+	OPENSSL_config(NULL);
 	SSL_library_init();
 	OpenSSL_add_all_ciphers();
 	OpenSSL_add_all_digests();
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 16:01:29 2024 UTC