From 144d059b725e2d178d7f4a6403cde9474fe65dcc Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 11 Aug 2026 00:07:15 +0900 Subject: refactor(util): drop the unused TlsHelper port Composer's Composer\Util\TlsHelper is marked deprecated for removal in Composer 3.0 and has no caller in composer/composer outside its own test: PHP's stream layer verifies certificate hostnames itself, and the one surviving method delegates to composer/ca-bundle. The Rust port had no caller either, so it, its test, and the openssl_x509_parse shim it was the sole user of are removed. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe-php-shim/src/openssl.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'crates/shirabe-php-shim/src') diff --git a/crates/shirabe-php-shim/src/openssl.rs b/crates/shirabe-php-shim/src/openssl.rs index d24caa63..471f80f3 100644 --- a/crates/shirabe-php-shim/src/openssl.rs +++ b/crates/shirabe-php-shim/src/openssl.rs @@ -1,13 +1,3 @@ -use crate::PhpMixed; -use indexmap::IndexMap; - pub const OPENSSL_ALGO_SHA384: i64 = 9; pub const OPENSSL_VERSION_NUMBER: i64 = 0; pub const OPENSSL_VERSION_TEXT: &str = ""; - -pub fn openssl_x509_parse( - _certificate: &str, - _short_names: bool, -) -> Option> { - todo!() -} -- cgit v1.3.1-4-g156e