]> TLD Linux GIT Repositories - packages/php.git/commitdiff
- no longer needed, fixed upstream
authorMarcin Krol <hawk@tld-linux.org>
Tue, 13 Jan 2026 20:05:38 +0000 (21:05 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 13 Jan 2026 20:05:38 +0000 (21:05 +0100)
openssl.patch [deleted file]

diff --git a/openssl.patch b/openssl.patch
deleted file mode 100644 (file)
index 05ab780..0000000
+++ /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;