1
0
mirror of https://github.com/php/php-src.git synced 2026-04-16 12:31:06 +02:00

Fix indent and add comment

This commit is contained in:
Jakub Zelenka
2017-03-08 19:38:54 +00:00
parent 760ff21bf3
commit 411f4b1b6f

View File

@@ -1661,7 +1661,7 @@ int php_openssl_setup_crypto(php_stream *stream,
}
#ifdef SSL_MODE_RELEASE_BUFFERS
SSL_set_mode(sslsock->ssl_handle, SSL_get_mode(sslsock->ssl_handle) | SSL_MODE_RELEASE_BUFFERS);
SSL_set_mode(sslsock->ssl_handle, SSL_get_mode(sslsock->ssl_handle) | SSL_MODE_RELEASE_BUFFERS);
#endif
if (cparam->inputs.session) {
@@ -1801,6 +1801,8 @@ static int php_openssl_enable_crypto(php_stream *stream,
if (SUCCESS == php_set_sock_blocking(sslsock->s.socket, 0)) {
sslsock->s.is_blocked = 0;
/* The following mode are added only if we are able to change socket
* to non blocking mode which is also used for read and write */
SSL_set_mode(
sslsock->ssl_handle,
(