mirror of
https://github.com/samsonjs/agate.git
synced 2026-03-25 09:05:50 +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())?;
|
||||
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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue