mirror of https://github.com/telemt/telemt.git
fix: add #[cfg(test)] to unused ProxyError import
The ProxyError import in tls.rs is only used in test code (validate_server_hello_structure function), so guard it with #[cfg(test)] to eliminate the unused import warning.
This commit is contained in:
parent
3d3ddd37d7
commit
d6214c6bbf
|
|
@ -7,6 +7,7 @@
|
|||
#![allow(dead_code)]
|
||||
|
||||
use crate::crypto::{sha256_hmac, SecureRandom};
|
||||
#[cfg(test)]
|
||||
use crate::error::ProxyError;
|
||||
use super::constants::*;
|
||||
use std::time::{SystemTime, UNIX_EPOCH};
|
||||
|
|
|
|||
Loading…
Reference in New Issue