Skip to content

Commit b012d48

Browse files
committed
Merge branch 'PHP-7.1'
* PHP-7.1: Fixed bug #73854 (Always true condition in php_openssl_sockop_io)
2 parents 7fd318b + 697809d commit b012d48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/xp_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1913,7 +1913,7 @@ static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, siz
19131913
}
19141914

19151915
/* never use a timeout with non-blocking sockets */
1916-
if (began_blocked && &sslsock->s.timeout) {
1916+
if (began_blocked) {
19171917
timeout = &sslsock->s.timeout;
19181918
}
19191919

0 commit comments

Comments
 (0)