From f7cb79431f621381722f504e75d1e71e72df6de9 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 9 Jan 2017 16:30:00 +0800 Subject: [PATCH] Fixed bug #73854 (Always true condition in php_openssl_sockop_io) --- ext/openssl/xp_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index 4c6ef9f829..b4387cd738 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -1951,7 +1951,7 @@ static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, siz } /* never use a timeout with non-blocking sockets */ - if (began_blocked && &sslsock->s.timeout) { + if (began_blocked) { timeout = &sslsock->s.timeout; } -- 2.40.0