From 49a50aecd921472207df4dcb6674d9729b70d6ec Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Tue, 6 Aug 2024 11:09:16 +0400 Subject: [PATCH] fix: allow pub access to SelfsignedCert fields --- src/certs/verifier.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/certs/verifier.rs b/src/certs/verifier.rs index cb7d477..4635dd3 100644 --- a/src/certs/verifier.rs +++ b/src/certs/verifier.rs @@ -17,9 +17,9 @@ pub trait SelfsignedCertVerifier: Send + Sync { } pub struct SelfsignedCert { - algo: super::fingerprint::Algorithm, - fingerprint: String, - expires: u64, + pub algo: super::fingerprint::Algorithm, + pub fingerprint: String, + pub expires: u64, } pub struct CustomCertVerifier {