Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 676012 Details for
Bug 757123
dev-lang/php-7.4.13 with dev-libs/libressl-3.3.0: sapis-build/embed/ext/openssl/openssl.c:6501:8: error: ‘EVP_CIPH_OCB_MODE’ undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
check for SSL OCB support
check_OCB_MODE.patch (text/plain), 1.16 KB, created by
Alexandros C. Couloumbis
on 2020-12-01 13:09:13 UTC
(
hide
)
Description:
check for SSL OCB support
Filename:
MIME Type:
Creator:
Alexandros C. Couloumbis
Created:
2020-12-01 13:09:13 UTC
Size:
1.16 KB
patch
obsolete
>From ecee3f1209a7c0ac9f99c7f640b2f5df56656e58 Mon Sep 17 00:00:00 2001 >From: Nikita Popov <nikita.ppv@gmail.com> >Date: Mon, 30 Nov 2020 15:15:59 +0100 >Subject: [PATCH] Next attempt to fix bug #80368 > >Apparently treating LibreSSL as OpenSSL 1.1 is not just something >we did in our code, it's something that upstream LibreSSL claims, >despite not actually being compatible. Duh. > >Check for EVP_CIPH_OCB_MODE instead, which should reliably >determine support... >--- > ext/openssl/openssl.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c >index e45f76093e3c..52d7dbf463a2 100644 >--- a/ext/openssl/openssl.c >+++ b/ext/openssl/openssl.c >@@ -6496,7 +6496,9 @@ static void php_openssl_load_cipher_mode > 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 >+/* Since OpenSSL 1.1, all AEAD ciphers use a common framework. We check for >+ * EVP_CIPH_OCB_MODE, because LibreSSL does not support it. */ >+#ifdef EVP_CIPH_OCB_MODE > case EVP_CIPH_GCM_MODE: > case EVP_CIPH_OCB_MODE: > case EVP_CIPH_CCM_MODE:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 757123
:
675268
|
675271
|
675280
|
676006
| 676012