#35381 [Opn->Csd]: [PATCH] ssl lib not initialized causes garbage when used with soap ext.
| From: | alan_k@php.net | Date: | Mon, 28 Nov 2005 10:28:59 +0000 |
| Subject: | #35381 [Opn->Csd]: [PATCH] ssl lib not initialized causes garbage when used with soap ext. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-89178@lists.php.net to get a copy of this message | ||
ID: 35381
Updated by: alan_k@php.net
Reported By: alan at akbkhome dot com
-Status: Open
+Status: Closed
Bug Type: OpenSSL related
Operating System: linux
PHP Version: 5.1.0
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-11-25 04:39:30] alan at akbkhome dot com
Description:
------------
Patch to fix
Index: ext/openssl/openssl.c
===================================================================
RCS file: /repository/php-src/ext/openssl/openssl.c,v
retrieving revision 1.98.2.1
diff -p -u -r1.98.2.1 openssl.c
--- ext/openssl/openssl.c 18 Aug 2005 13:34:37 -0000
1.98.2.1
+++ ext/openssl/openssl.c 25 Nov 2005 03:03:47 -0000
@@ -584,6 +584,7 @@ PHP_MINIT_FUNCTION(openssl)
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);
+ SSL_library_init();
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
OpenSSL_add_all_algorithms();
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35381&edit=1