Bug #63992 [Asn]: php not use default openSSH confing
Edit report at https://bugs.php.net/bug.php?id=63992&edit=1
ID: 63992
User updated by: mikhail dot v dot gavrilov at gmail dot com
Reported by: mikhail dot v dot gavrilov at gmail dot com
Summary: php not use default openSSH confing
Status: Assigned
Type: Bug
Package: OpenSSL related
Operating System: RHEL/Fedora
PHP Version: 5.4.11RC1
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
Pierre, please look this curl bug http://sourceforge.net/p/curl/bugs/1208/
Seems our problem relate with this.
Previous Comments:
------------------------------------------------------------------------
[2013-02-18 03:30:36] mikhail dot v dot gavrilov at gmail dot com
Pierre, are you still think that OpenSSL config init must do curl by itself? But
but curl may use not only openSSL, also it may use NSS.
------------------------------------------------------------------------
[2013-02-05 18:55:13] mikhail dot v dot gavrilov at gmail dot com
I am tell about php-fpm. In this case only PHP and PHP extension's in the same
process.
------------------------------------------------------------------------
[2013-02-05 18:46:28] pajoye@php.net
There are much more in the same process than only PHP extensions. Libraries,
servers, etc. also rely on OpenSSL.
------------------------------------------------------------------------
[2013-02-05 18:32:20] mikhail dot v dot gavrilov at gmail dot com
Pierre, do you think what initialization openSSL into each extension good idea? I
think better if it will be do openssl extension for all other extensions. So I
couldn't find OPENSSL_config(NULL); into openssl extension code and I very
surprised and don't understand how it work. I just tried add
OPENSSL_config(NULL); before SSL_library_init(); string and it really helped me
solved problem with curl.
------------------------------------------------------------------------
[2013-01-25 15:03:09] pajoye@php.net
A quick comment about the patch, using this function may affect anything using
openssl within the same process, that's really not good.
Also, in case of curl, curl should take care of that, using options.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=63992
--
Edit this bug report at https://bugs.php.net/bug.php?id=63992&edit=1
Thread (10 messages)