There was an error while loading. Please reload this page.
1 parent 9855feb commit 875e4d9Copy full SHA for 875e4d9
1 file changed
pingora-core/src/utils/tls/rustls.rs
@@ -101,17 +101,17 @@ pub struct CertKey {
101
certificates: Vec<WrappedX509>,
102
}
103
104
-#[self_referencing]
+#[self_referencing(pub_extras)]
105
#[derive(Debug)]
106
pub struct WrappedX509 {
107
- raw_cert: Vec<u8>,
+ pub raw_cert: Vec<u8>,
108
109
#[borrows(raw_cert)]
110
#[covariant]
111
- cert: X509Certificate<'this>,
+ pub cert: X509Certificate<'this>,
112
113
114
-fn parse_x509<C>(raw_cert: &C) -> X509Certificate<'_>
+pub fn parse_x509<C>(raw_cert: &C) -> X509Certificate<'_>
115
where
116
C: AsRef<[u8]>,
117
{
0 commit comments