@@ -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,10 @@ impl Display for rustls_result {
491492 CertRevocationListBadSignature => {
492493 Error :: InvalidCertRevocationList ( CertRevocationListError :: BadSignature ) . fmt ( f)
493494 }
495+ CertRevocationListUnsupportedSignatureAlgorithm => Error :: InvalidCertRevocationList (
496+ CertRevocationListError :: UnsupportedSignatureAlgorithm ,
497+ )
498+ . fmt ( f) ,
494499 CertRevocationListInvalidCrlNumber => {
495500 Error :: InvalidCertRevocationList ( CertRevocationListError :: InvalidCrlNumber ) . fmt ( f)
496501 }
@@ -679,6 +684,9 @@ fn map_crl_error(err: CertRevocationListError) -> rustls_result {
679684
680685 match err {
681686 CertRevocationListError :: BadSignature => CertRevocationListBadSignature ,
687+ CertRevocationListError :: UnsupportedSignatureAlgorithm => {
688+ CertRevocationListUnsupportedSignatureAlgorithm
689+ }
682690 CertRevocationListError :: InvalidCrlNumber => CertRevocationListInvalidCrlNumber ,
683691 CertRevocationListError :: InvalidRevokedCertSerialNumber => {
684692 CertRevocationListInvalidRevokedCertSerialNumber
0 commit comments