mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4: Next attempt to fix bug #80368
This commit is contained in:
commit
32cd5a1bc8
1 changed files with 3 additions and 2 deletions
|
@ -6901,8 +6901,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 OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
/* Note: While OpenSSL 1.1 supports OCB mode, LibreSSL does not support it. */
|
||||
#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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue