]> TLD Linux GIT Repositories - packages/php.git/blobdiff - openssl.patch
- updated to 8.2.8
[packages/php.git] / openssl.patch
index 125637074a12c4df3745f8f64b8e1dcb1597f4ae..f6748f12f08d570264c879046667cb7f46f1dca2 100644 (file)
@@ -2,7 +2,7 @@ diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c
 index 5564bf6f08..423f696c76 100644
 --- a/ext/openssl/xp_ssl.c
 +++ b/ext/openssl/xp_ssl.c
-@@ -1286,6 +1286,10 @@ static int php_openssl_set_server_specific_opts(php_stream *stream, SSL_CTX *ctx
+@@ -1349,6 +1349,10 @@ static int php_openssl_set_server_specif
        zval *zv;
        long ssl_ctx_options = SSL_CTX_get_options(ctx);
  
@@ -13,9 +13,9 @@ index 5564bf6f08..423f696c76 100644
  #if defined(HAVE_ECDH) && PHP_OPENSSL_API_VERSION < 0x10100
        if (php_openssl_set_server_ecdh_curve(stream, ctx) == FAILURE) {
                return FAILURE;
-@@ -1628,6 +1632,10 @@ int php_openssl_setup_crypto(php_stream *stream,
-       ssl_ctx_options = SSL_OP_ALL;
- #endif
+@@ -1686,6 +1690,10 @@ int php_openssl_setup_crypto(php_stream
+       method = sslsock->is_client ? SSLv23_client_method() : SSLv23_server_method();
+       sslsock->ctx = SSL_CTX_new(method);
  
 +#ifdef SSL_OP_IGNORE_UNEXPECTED_EOF
 +      ssl_ctx_options |= SSL_OP_IGNORE_UNEXPECTED_EOF;