mlkem
Some checks failed
Unit Test / test (push) Has been cancelled
ShiftLeft Scan / Scan-Build (push) Has been cancelled

This commit is contained in:
Pascal Engélibert 2025-12-09 11:25:32 +01:00
commit e08c70709f
4 changed files with 68 additions and 8 deletions

View file

@ -217,10 +217,11 @@ where
#[cfg(not(feature = "webpki-roots"))]
let (builder, builder_h2) = {
use rustls::{ClientConfig, client::Resumption};
use hyper_rustls::ConfigBuilderExt;
use rustls::{ClientConfig, client::Resumption};
let mut client_config = ClientConfig::builder()
.try_with_platform_verifier().unwrap()
.try_with_platform_verifier()
.unwrap()
.with_no_client_auth();
client_config.resumption = Resumption::disabled();
let builder = hyper_rustls::HttpsConnectorBuilder::new().with_tls_config(client_config.clone());