mirror of
https://github.com/YGGverse/agate.git
synced 2026-04-09 04:55:27 +00:00
implement clippy reccomendation
This commit is contained in:
parent
5dbb4be864
commit
afd30c386c
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ impl CertStore {
|
||||||
|
|
||||||
let key = load_domain(certs_dir, filename.clone())?;
|
let key = load_domain(certs_dir, filename.clone())?;
|
||||||
key.cross_check_end_entity_cert(Some(dns_name))
|
key.cross_check_end_entity_cert(Some(dns_name))
|
||||||
.or_else(|e| Err(CertLoadError::BadCert(filename.clone(), e.to_string())))?;
|
.map_err(|e| CertLoadError::BadCert(filename.clone(), e.to_string()))?;
|
||||||
|
|
||||||
certs.push((filename, key));
|
certs.push((filename, key));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue