aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/openssl.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-11 00:07:15 +0900
committernsfisis <nsfisis@gmail.com>2026-08-11 00:08:05 +0900
commit144d059b725e2d178d7f4a6403cde9474fe65dcc (patch)
tree09f48dc2296a1c1e052018968b34fec31b364767 /crates/shirabe-php-shim/src/openssl.rs
parentb65e338d4cf06afb8237512e49a51e354277196d (diff)
downloadphp-shirabe-144d059b725e2d178d7f4a6403cde9474fe65dcc.tar.gz
php-shirabe-144d059b725e2d178d7f4a6403cde9474fe65dcc.tar.zst
php-shirabe-144d059b725e2d178d7f4a6403cde9474fe65dcc.zip
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) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim/src/openssl.rs')
-rw-r--r--crates/shirabe-php-shim/src/openssl.rs10
1 files changed, 0 insertions, 10 deletions
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<IndexMap<String, PhpMixed>> {
- todo!()
-}