mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-06 00:01:35 +00:00
Fix deps
This commit is contained in:
1 parent
b5011c6b6b
commit
fa72ab315e
1 file changed
+2
-2
@@ -31,7 +31,7 @@ mod dangerous {
|
||||
use std::time::SystemTime;
|
||||
use tokio_rustls::rustls::{
|
||||
client::{ServerCertVerified, ServerCertVerifier},
|
||||
Certificate, ServerName,
|
||||
Certificate, Error, ServerName,
|
||||
};
|
||||
|
||||
pub(super) struct NotVerified;
|
||||
@@ -45,7 +45,7 @@ mod dangerous {
|
||||
_scts: &mut dyn Iterator<Item = &[u8]>,
|
||||
_ocsp_response: &[u8],
|
||||
_now: SystemTime,
|
||||
) -> core::result::Result<ServerCertVerified, rustls::Error> {
|
||||
) -> core::result::Result<ServerCertVerified, Error> {
|
||||
log::debug!("TLS cert for {:?} not verified", server_name);
|
||||
Ok(ServerCertVerified::assertion())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user