From 6555244197927f66dc820bf8a1c38c5fc4657ece Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Tue, 13 Jan 2026 21:05:38 +0100 Subject: [PATCH] - no longer needed, fixed upstream --- openssl.patch | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 openssl.patch diff --git a/openssl.patch b/openssl.patch deleted file mode 100644 index 05ab780..0000000 --- a/openssl.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- php-8.5.1/ext/openssl/xp_ssl.c.orig 2025-12-16 16:59:07.000000000 +0100 -+++ php-8.5.1/ext/openssl/xp_ssl.c 2026-01-08 12:42:37.787097996 +0100 -@@ -1241,6 +1241,10 @@ - zval *zv; - long ssl_ctx_options = SSL_CTX_get_options(ctx); - -+#ifdef SSL_OP_IGNORE_UNEXPECTED_EOF -+ ssl_ctx_options |= SSL_OP_IGNORE_UNEXPECTED_EOF; -+#endif -+ - /* We now use php_openssl_tmp_rsa_cb to generate a key of appropriate size whenever necessary */ - if (php_stream_context_get_option(PHP_STREAM_CONTEXT(stream), "ssl", "rsa_key_size") != NULL) { - php_error_docref(NULL, E_WARNING, "rsa_key_size context option has been removed"); -@@ -1576,6 +1580,10 @@ - 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; -+#endif -+ - if (sslsock->ctx == NULL) { - php_error_docref(NULL, E_WARNING, "SSL context creation failure"); - return FAILURE; -- 2.52.0