+++ /dev/null
-diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c
-index 5564bf6f08..423f696c76 100644
---- a/ext/openssl/xp_ssl.c
-+++ b/ext/openssl/xp_ssl.c
-@@ -1286,6 +1286,10 @@ static int php_openssl_set_server_specific_opts(php_stream *stream, SSL_CTX *ctx
- 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
-+
- #if defined(HAVE_ECDH) && PHP_OPENSSL_API_VERSION < 0x10100
- if (php_openssl_set_server_ecdh_curve(stream, ctx) == FAILURE) {
- return FAILURE;
-@@ -1628,6 +1632,10 @@ int php_openssl_setup_crypto(php_stream *stream,
- ssl_ctx_options = SSL_OP_ALL;
- #endif
-
-+#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;
Summary(ru.UTF-8): PHP - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
-Version: 8.1.33
+Version: 8.1.34
Release: 1
Epoch: 4
# All files licensed under PHP version 3.01, except
License: PHP 3.01 and Zend and BSD
Group: Libraries
Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz
-# Source0-md5: 36cd5b20659667cbddd171c6238dd64b
+# Source0-md5: 73c7f2a56f76bbaa4510b413a8468d8e
Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
Patch1: %{orgname}-tld.patch
Patch3: %{orgname}-link-libs.patch
Patch4: intl-stdc++.patch
-# https://bugs.php.net/bug.php?id=79589
-Patch5: openssl.patch
Patch7: %{orgname}-sapi-ini-file.patch
Patch10: %{orgname}-ini.patch
Patch11: embed.patch
%patch -P1 -p1
%patch -P3 -p1
%patch -P4 -p1
-%patch -P5 -p1
-
%patch -P7 -p1
%patch -P10 -p1
%patch -P14 -p1
%service %{name}-fpm restart
update-alternatives \
--install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{php_suffix}-fpm %{php_suffix} \
- --slave %{_mandir}/man8/php-fpm.8.gz php-fpm.8.gz %{_mandir}/man8/php-fpm%{php_suffix}.8.gz || :
+ --slave %{_mandir}/man8/php-fpm.8.gz php-fpm.8.gz %{_mandir}/man8/php%{php_suffix}-fpm.8.gz || :
%preun fpm
if [ "$1" = "0" ]; then