mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-13 07:48:30 +00:00
relocate TrustAnchor
This commit is contained in:
parent
d0fba6fbd7
commit
2b3d982d3f
1 changed files with 2 additions and 2 deletions
|
|
@ -168,8 +168,8 @@ fn rm_der_header(der: &[u8]) -> Result<Vec<u8>, Error> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> From<&webpki::TrustAnchor<'a>> for RustlsOwnedTrustAnchor {
|
||||
fn from(ta: &webpki::TrustAnchor) -> Self {
|
||||
impl<'a> From<&rustls::pki_types::TrustAnchor<'a>> for RustlsOwnedTrustAnchor {
|
||||
fn from(ta: &rustls::pki_types::TrustAnchor) -> Self {
|
||||
Self::from_subject_spki_name_constraints(ta.subject, ta.spki, ta.name_constraints)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue