diff options
author | Jakub Zelenka <bukka@php.net> | 2017-03-06 19:43:25 +0000 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2017-03-14 18:13:57 +0000 |
commit | 53cc72ef8649ebdffe0a0c06a00b6915ba01fe21 (patch) | |
tree | 8ef9172852878bbce87176f2c0e61685cb29d152 /ext | |
parent | 17e9fc9bfeaf575b25782a42937a56e809155858 (diff) | |
download | php-git-53cc72ef8649ebdffe0a0c06a00b6915ba01fe21.tar.gz |
Remove extra SSL mode settings
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/xp_ssl.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index ee8137a1b5..6fc783655e 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -1666,16 +1666,6 @@ int php_openssl_setup_crypto(php_stream *stream, SSL_set_mode(sslsock->ssl_handle, mode | SSL_MODE_RELEASE_BUFFERS); } while (0); #endif - - do { - long mode = SSL_get_mode(sslsock->ssl_handle); - SSL_set_mode(sslsock->ssl_handle, mode | SSL_MODE_ENABLE_PARTIAL_WRITE); - } while (0); - - do { - long mode = SSL_get_mode(sslsock->ssl_handle); - SSL_set_mode(sslsock->ssl_handle, mode | SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER); - } while (0); if (cparam->inputs.session) { if (cparam->inputs.session->ops != &php_openssl_socket_ops) { |