@@ -199,6 +199,7 @@ u32_enum_builder! {
199199 CertRevocationListUnsupportedDeltaCrl => 7408 ,
200200 CertRevocationListUnsupportedIndirectCrl => 7409 ,
201201 CertRevocationListUnsupportedRevocationReason => 7410 ,
202+ CertRevocationListUnsupportedSignatureAlgorithm => 7411 ,
202203
203204 // From ClientCertVerifierBuilderError, with fields that get flattened.
204205 ClientCertVerifierBuilderNoRootAnchors => 7500 ,
@@ -491,6 +492,9 @@ impl Display for rustls_result {
491492 CertRevocationListBadSignature => {
492493 Error :: InvalidCertRevocationList ( CertRevocationListError :: BadSignature ) . fmt ( f)
493494 }
495+ CertRevocationListUnsupportedSignatureAlgorithm => {
496+ Error :: InvalidCertRevocationList ( CertRevocationListError :: UnsupportedSignatureAlgorithm ) . fmt ( f)
497+ }
494498 CertRevocationListInvalidCrlNumber => {
495499 Error :: InvalidCertRevocationList ( CertRevocationListError :: InvalidCrlNumber ) . fmt ( f)
496500 }
@@ -679,6 +683,7 @@ fn map_crl_error(err: CertRevocationListError) -> rustls_result {
679683
680684 match err {
681685 CertRevocationListError :: BadSignature => CertRevocationListBadSignature ,
686+ CertRevocationListError :: UnsupportedSignatureAlgorithm => CertRevocationListUnsupportedSignatureAlgorithm ,
682687 CertRevocationListError :: InvalidCrlNumber => CertRevocationListInvalidCrlNumber ,
683688 CertRevocationListError :: InvalidRevokedCertSerialNumber => {
684689 CertRevocationListInvalidRevokedCertSerialNumber
0 commit comments