diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /dev-lang/php/files | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'dev-lang/php/files')
-rw-r--r-- | dev-lang/php/files/php-7.4.13-issue80368.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-lang/php/files/php-7.4.13-issue80368.patch b/dev-lang/php/files/php-7.4.13-issue80368.patch new file mode 100644 index 000000000000..adad8f864ec1 --- /dev/null +++ b/dev-lang/php/files/php-7.4.13-issue80368.patch @@ -0,0 +1,17 @@ +https://github.com/php/php-src/commit/0f579fd7c8171cb0f7ecc8db912933df450f3861 +https://github.com/php/php-src/commit/ecee3f1209a7c0ac9f99c7f640b2f5df56656e58 + +--- a/ext/openssl/openssl.c ++++ b/ext/openssl/openssl.c +@@ -6496,7 +6496,9 @@ static void php_openssl_load_cipher_mode(struct php_openssl_cipher_mode *mode, c + int cipher_mode = EVP_CIPHER_mode(cipher_type); + memset(mode, 0, sizeof(struct php_openssl_cipher_mode)); + switch (cipher_mode) { +-#if PHP_OPENSSL_API_VERSION >= 0x10100 ++#ifdef EVP_CIPH_OCB_MODE ++ /* Since OpenSSL 1.1, all AEAD ciphers use a common framework. We check for ++ * EVP_CIPH_OCB_MODE, because LibreSSL does not support it. */ + case EVP_CIPH_GCM_MODE: + case EVP_CIPH_OCB_MODE: + case EVP_CIPH_CCM_MODE: + |