Skip to content

Commit f87eca6

Browse files
committed
remove unnecessary cert method exposing internal functionality
1 parent 20d6b66 commit f87eca6

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/certs/snp/cert_nossl.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ impl Verifiable for (&Certificate, &Certificate) {
6262
}
6363

6464
impl Certificate {
65-
/// Gets a reference to the X509 certificate inside
66-
pub fn cert(&self) -> &x509_cert::Certificate {
67-
&self.0
68-
}
69-
7065
/// Create a Certificate from a PEM-encoded X509 structure.
7166
pub fn from_pem(pem: &[u8]) -> Result<Self> {
7267
let cert = x509_cert::Certificate::from_pem(pem)

0 commit comments

Comments
 (0)