Skip to content

Commit 51ac34a

Browse files
authored
Merge pull request #3382 from jarhodes314/refactor/unignore-client-cert-test
re-enable client certificate test
2 parents d755f0f + 998d6bf commit 51ac34a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/common/axum_tls/src/acceptor.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ mod tests {
171171
}
172172

173173
#[tokio::test]
174-
#[ignore]
175174
async fn acceptor_rejects_untrusted_client_certificates() {
176175
let permitted_certificate =
177176
rcgen::generate_simple_self_signed(vec!["not-my-client".into()]).unwrap();
@@ -191,7 +190,7 @@ mod tests {
191190
.await
192191
.unwrap_err();
193192
println!("{}", err);
194-
crate::error_matching::assert_error_matches(err, rustls::AlertDescription::UnknownCA);
193+
crate::error_matching::assert_error_matches(err, rustls::AlertDescription::DecryptError);
195194
}
196195

197196
#[tokio::test]

0 commit comments

Comments
 (0)