mlkem
This commit is contained in:
parent
2a8aba6346
commit
e08c70709f
4 changed files with 68 additions and 8 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue