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

index a3efe506e0a45b492217f8659c0c0989a5b39495..60882283be9c6c5da99e033e43fc9c10f8ad7f1f 100644 (file)
@@ -1016,3 +1016,16 @@ diff -ur php-5.4.45/ext/openssl.org/openssl.c php-5.4.45/ext/openssl/openssl.c
        REGISTER_LONG_CONSTANT("OPENSSL_NO_PADDING", RSA_NO_PADDING, CONST_CS|CONST_PERSISTENT);
        REGISTER_LONG_CONSTANT("OPENSSL_PKCS1_OAEP_PADDING", RSA_PKCS1_OAEP_PADDING, CONST_CS|CONST_PERSISTENT);
  
+--- 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 db0f377ca31451d70d61df52ac1ba76f3da08f39..fe50e69e2130557f4266367719eb65d79a7fd3fa 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -138,7 +138,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %undefine      with_filter
 %endif
 
-%define                rel     35
+%define                rel     36
 %define                orgname php
 %define                ver_suffix 54
 %define                php_suffix %{!?with_default_php:%{ver_suffix}}
This page took 0.065695 seconds and 4 git commands to generate.