From 81645c322ca963c0b2af6f8247fecb12e2acae22 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Fri, 29 Sep 2023 19:25:07 -0700 Subject: [PATCH] NFC: Remove unneeded `as_ref()`. --- src/verify_cert.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/verify_cert.rs b/src/verify_cert.rs index c9f4f0af..d4e9983b 100644 --- a/src/verify_cert.rs +++ b/src/verify_cert.rs @@ -229,7 +229,6 @@ fn check_signed_chain_name_constraints( let mut cert = cert_chain; let mut name_constraints = trust_anchor .name_constraints - .as_ref() .map(|der| untrusted::Input::from(der)); loop {