diff --git a/provider-example/src/hpke.rs b/provider-example/src/hpke.rs index 7a1633f6..8626c627 100644 --- a/provider-example/src/hpke.rs +++ b/provider-example/src/hpke.rs @@ -2,10 +2,10 @@ use alloc::boxed::Box; use alloc::sync::Arc; use alloc::vec::Vec; use core::fmt::Debug; -use hpke_rs_crypto::HpkeCrypto; use std::error::Error as StdError; use hpke_rs_crypto::types::{AeadAlgorithm, KdfAlgorithm, KemAlgorithm}; +use hpke_rs_crypto::HpkeCrypto; use hpke_rs_rust_crypto::HpkeRustCrypto; use rustls::crypto::hpke::{ EncapsulatedSecret, Hpke, HpkeOpener, HpkePrivateKey, HpkePublicKey, HpkeSealer, HpkeSuite, diff --git a/rustls/src/client/client_conn.rs b/rustls/src/client/client_conn.rs index e293bea9..66c6ec82 100644 --- a/rustls/src/client/client_conn.rs +++ b/rustls/src/client/client_conn.rs @@ -608,10 +608,10 @@ mod connection { use core::ops::{Deref, DerefMut}; use std::io; - use crate::client::EchStatus; use pki_types::ServerName; use super::ClientConnectionData; + use crate::client::EchStatus; use crate::common_state::Protocol; use crate::conn::{ConnectionCommon, ConnectionCore}; use crate::error::Error;