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

index 4d610ba95e4732ceae212d6c8185082f6c3f48b4..237b750265e52340a31f8d4a63230215ba4c82a7 100644 (file)
@@ -1009,3 +1009,16 @@ diff -ur php-5.5.38.org/ext/openssl/openssl.c php-5.5.38/ext/openssl/openssl.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 1ca8bfc780a460e2504cf8fdda7410886cb0cf60..21f79b04b3a67a10e8790a4321614c66eb054181 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -140,7 +140,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %undefine      with_filter
 %endif
 
-%define                rel     29
+%define                rel     30
 %define                orgname php
 %define                ver_suffix 55
 %define                php_suffix %{!?with_default_php:%{ver_suffix}}
This page took 0.924326 seconds and 4 git commands to generate.