chore: typo and deps

This commit is contained in:
Jun Kurihara 2024-06-10 14:19:29 +09:00
commit 55c3bfb85b
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
2 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ impl TryInto<Arc<ServerCrypto>> for &ServerCryptoBase {
type Error = RpxyCertError;
fn try_into(self) -> Result<Arc<ServerCrypto>, Self::Error> {
let aggregated = self.build_aggrated_server_crypto()?;
let aggregated = self.build_aggregated_server_crypto()?;
let individual = self.build_individual_server_crypto_map()?;
Ok(Arc::new(ServerCrypto {
aggregated_config_no_client_auth: Arc::new(aggregated),
@ -117,7 +117,7 @@ impl ServerCryptoBase {
/* ------------------------------------------------ */
/// Build aggregated server crypto inner object for no client auth server especially for http3
fn build_aggrated_server_crypto(&self) -> Result<ServerConfig, RpxyCertError> {
fn build_aggregated_server_crypto(&self) -> Result<ServerConfig, RpxyCertError> {
let mut resolver_global = ResolvesServerCertUsingSni::new();
// AWS LC provider by default