mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.5'
* PHP-8.5: Update NEWS with info about OpenSSL GH-19994 fix Fix GH-19994: openssl_get_cipher_methods inconsistent with fetched methods (#20167)
This commit is contained in:
17
ext/openssl/tests/gh19994.phpt
Normal file
17
ext/openssl/tests/gh19994.phpt
Normal file
@@ -0,0 +1,17 @@
|
||||
--TEST--
|
||||
GH-19994: openssl_get_cipher_methods inconsistent with fetched methods
|
||||
--EXTENSIONS--
|
||||
openssl
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
$ciphers = openssl_get_cipher_methods();
|
||||
|
||||
foreach ($ciphers as $cipher) {
|
||||
if (openssl_cipher_iv_length($cipher) === false) {
|
||||
var_dump($cipher);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
Reference in New Issue
Block a user