You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenSSL introspection and one-shot digest helpers from ext/openssl are missing. function_exists() is false for all four. Full encrypt/decrypt is tracked in #3324; these smaller entry points are required for typical crypto code paths (cipher list, IV sizing, standalone openssl_digest() without going through hash()).
Activity
PurHur commentedon Jun 11, 2026
claim: PHP Runtime → PHP — starting this run
php-in-php: OpenSSL introspection without host ext/openssl delegation (…
PurHur commentedon Jun 11, 2026
Merged via #8025.
PHP-in-PHP:
openssl_get_cipher_methods(),openssl_get_md_methods(),openssl_digest()implemented inext/openssl/OpensslCipherRegistry.php+VmOpenssl.php(cipher IV table +VmHashNativedigests). Dropped hostfunction_exists('openssl_cipher_iv_length')delegation.C runtime: 0 lines added; host bridge removed from
VmOpenssl.php.Verification:
```bash
./script/docker-exec.sh -- bash -lc 'source script/php-env.sh
php bin/vm.php test/repro/maintainer_openssl_introspect.php
vendor/bin/phpunit --filter "OpensslModuleTest|VmOpensslRuntimeShrinkTest|openssl_digest|openssl_get_cipher_methods|openssl_cipher_iv_length"
'
```
OK (13 tests, 28 assertions)