File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -469,17 +469,16 @@ impl RevocationChecker {
469469 let serial = bytes_to_hex ( serial_bytes) ;
470470
471471 // Get CRL distribution point
472- let crl_url = extract_crl_url ( & cert) . ok_or_else ( || {
473- invalid_certificate ( "No CRL distribution point found in certificate" )
474- } ) ?;
472+ let crl_url = extract_crl_url ( & cert)
473+ . ok_or_else ( || invalid_certificate ( "No CRL distribution point found in certificate" ) ) ?;
475474
476475 // Fetch CRL
477- let response =
478- self . client
479- . get ( & crl_url)
480- . send ( )
481- . await
482- . map_err ( |e| network_error ( format ! ( "CRL fetch failed: {e}" ) ) ) ?;
476+ let response = self
477+ . client
478+ . get ( & crl_url)
479+ . send ( )
480+ . await
481+ . map_err ( |e| network_error ( format ! ( "CRL fetch failed: {e}" ) ) ) ?;
483482
484483 if !response. status ( ) . is_success ( ) {
485484 return Ok ( RevocationResult :: new (
You can’t perform that action at this time.
0 commit comments