#35381 [NEW]: (with patch) ssl lib not initialized causes garbage when used with soap ext.

From: Date: Fri, 25 Nov 2005 03:39:34 +0000
Subject: #35381 [NEW]: (with patch) ssl lib not initialized causes garbage when used with soap ext.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88897@lists.php.net to get a copy of this message
From: alan at akbkhome dot com Operating system: linux PHP version: 5.1.0 PHP Bug Type: OpenSSL related Bug description: (with patch) ssl lib not initialized causes garbage when used with soap ext. 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 bug report at http://bugs.php.net/?id=35381&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35381&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35381&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35381&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35381&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35381&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35381&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35381&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35381&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35381&r=support Expected behavior: http://bugs.php.net/fix.php?id=35381&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35381&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35381&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35381&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35381&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35381&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35381&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35381&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35381&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35381&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35381&r=mysqlcfg

« previous php.bugs (#88897) next »