Add missing pub(crate) statements.

This commit is contained in:
Yannick Heinrich
2018-10-05 13:46:38 +02:00
committed by Sean McArthur
parent 4857a5917d
commit 647f59756e
10 changed files with 39 additions and 57 deletions

View File

@@ -113,12 +113,10 @@ impl fmt::Debug for Identity {
}
}
// pub(crate)
pub fn cert(cert: Certificate) -> native_tls::Certificate {
pub(crate) fn cert(cert: Certificate) -> native_tls::Certificate {
cert.0
}
pub fn pkcs12(identity: Identity) -> native_tls::Identity {
pub(crate) fn pkcs12(identity: Identity) -> native_tls::Identity {
identity.0
}