Skip to content

Commit f7cb794

Browse files
committed
Fixed bug #73854 (Always true condition in php_openssl_sockop_io)
1 parent 8dd523a commit f7cb794

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
@@ -1951,7 +1951,7 @@ static size_t php_openssl_sockop_io(int read, php_stream *stream, char *buf, siz
19511951
}
19521952

19531953
/* never use a timeout with non-blocking sockets */
1954-
if (began_blocked && &sslsock->s.timeout) {
1954+
if (began_blocked) {
19551955
timeout = &sslsock->s.timeout;
19561956
}
19571957

0 commit comments

Comments
 (0)