1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix GH-19994: openssl_get_cipher_methods inconsistent with fetched methods (#20167)

This is fixed by libctx work so this just adds test to confirm it.

The actual fix is 2f5ef4d2b7 .
This commit is contained in:
Jakub Zelenka
2025-10-14 19:20:25 +02:00
committed by GitHub
parent 43970e3c86
commit 2e4dca57dc

View 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--