Skip to content

Commit 869c458

Browse files
committed
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)
2 parents 44aea65 + f60134a commit 869c458

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

ext/openssl/tests/gh19994.phpt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
--TEST--
2+
GH-19994: openssl_get_cipher_methods inconsistent with fetched methods
3+
--EXTENSIONS--
4+
openssl
5+
--FILE--
6+
<?php
7+
8+
$ciphers = openssl_get_cipher_methods();
9+
10+
foreach ($ciphers as $cipher) {
11+
if (openssl_cipher_iv_length($cipher) === false) {
12+
var_dump($cipher);
13+
}
14+
}
15+
16+
?>
17+
--EXPECT--

0 commit comments

Comments
 (0)