diff --git a/tuic-client/src/main.rs b/tuic-client/src/main.rs index cb79481..b6017ee 100644 --- a/tuic-client/src/main.rs +++ b/tuic-client/src/main.rs @@ -64,6 +64,8 @@ pub enum Error { Connection(#[from] ConnectionError), #[error(transparent)] Model(#[from] ModelError), + #[error("load native certificates error: {0}")] + LoadNativeCerts(IoError), #[error(transparent)] Rustls(#[from] RustlsError), #[error("timeout establishing connection")] diff --git a/tuic-client/src/utils.rs b/tuic-client/src/utils.rs index e84a0cc..5292a5e 100644 --- a/tuic-client/src/utils.rs +++ b/tuic-client/src/utils.rs @@ -30,8 +30,8 @@ pub fn load_certs(paths: Vec, disable_native: bool) -> Result