]> git.pld-linux.org Git - packages/php.git/commitdiff
Rel 58; add workaround to https://bugs.php.net/bug.php?id=79589 auto/th/php53-5.3.29-58
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 29 Mar 2022 14:33:30 +0000 (16:33 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 29 Mar 2022 14:33:30 +0000 (16:33 +0200)
openssl.patch
php.spec

index 25007c17249d70956e9505049775983cf0032fd4..11d44f94c187475de5facc6c273ffb316d6ab7e2 100644 (file)
@@ -1030,3 +1030,16 @@ diff -ruNp php-5.3.29.orig/ext/openssl/xp_ssl.c php-5.3.29/ext/openssl/xp_ssl.c
        } else if (strncmp(proto, "tls", protolen) == 0) {
                sslsock->enable_on_connect = 1;
                sslsock->method = STREAM_CRYPTO_METHOD_TLS_CLIENT;
+--- php-5.5.38/ext/openssl/xp_ssl.c~   2022-03-29 16:25:01.000000000 +0200
++++ php-5.5.38/ext/openssl/xp_ssl.c    2022-03-29 16:27:12.643215607 +0200
+@@ -445,6 +445,10 @@ static inline int php_openssl_setup_cryp
+               }
+       }
++#ifdef SSL_OP_IGNORE_UNEXPECTED_EOF
++      ssl_ctx_options |= SSL_OP_IGNORE_UNEXPECTED_EOF;
++#endif
++
+       /* need to do slightly different things, based on client/server method,
+        * so lets remember which method was selected */
index 6731c57a231f905692235fc3975eecc110828d01..1d73e8b331b36aaf803d718ec7ae7effb8e6723c 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -143,7 +143,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %undefine      with_alternatives
 %endif
 
-%define                rel     57
+%define                rel     58
 %define                orgname php
 %define                ver_suffix 53
 %define                php_suffix %{!?with_default_php:%{ver_suffix}}
This page took 0.314778 seconds and 4 git commands to generate.