Skip to content

Commit 4cb44bd

Browse files
committed
Added two more ignore labels
1 parent d0a2856 commit 4cb44bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub fn parse_cert(content: &[u8]) -> Option<X509> {
114114
};
115115
}
116116

117-
const IGNORED_LABELS: [&str; 1] = ["TRUSTED CERTIFICATE"];
117+
const IGNORED_LABELS: [&str; 3] = ["TRUSTED CERTIFICATE", "X509 CRL", "PUBLIC KEY"];
118118

119119
/// Parses X509 certs and privkeys from a PEM encoded file.
120120
pub fn parse_pkiobjs(path: PathBuf) -> Result<Vec<PKIObject>, ParseError> {

0 commit comments

Comments
 (0)