mirror of
https://github.com/php/php-src.git
synced 2025-01-20 10:43:40 +08:00
fix error message which appeared even if no ssl mode was selected
This commit is contained in:
parent
c5ad6ae1b8
commit
e3a884f552
@ -201,7 +201,7 @@ static void php_fsockopen_stream(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
||||
}
|
||||
|
||||
#if HAVE_OPENSSL_EXT
|
||||
if (stream) {
|
||||
if (stream && ssl_flags != php_ssl_none) {
|
||||
int ssl_ret = FAILURE;
|
||||
switch(ssl_flags) {
|
||||
case php_ssl_v23:
|
||||
|
Loading…
Reference in New Issue
Block a user