mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
pv: download_first_crl_from_x509: Log errors
Although most errors are ignored and the next CRL distribution point is tried, log the errors as debug messages. Signed-off-by: Marc Hartmayer <marc@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
cf45a6e108
commit
4eb18bd6b7
@@ -331,7 +331,8 @@ pub fn download_first_crl_from_x509(cert: &X509Ref) -> Result<Option<Vec<openssl
|
||||
handle.timeout(CRL_TIMEOUT_MAX)?;
|
||||
handle.useragent("s390-tools-pv-crl")?;
|
||||
|
||||
if handle.perform().is_err() {
|
||||
if let Err(err) = handle.perform() {
|
||||
debug!("Failed to download CRL: {}", err);
|
||||
continue;
|
||||
}
|
||||
match read_crls(&handle.get_ref().0) {
|
||||
|
||||
Reference in New Issue
Block a user