Skip to content

Commit 998d6bf

Browse files
committed
re-enable client certificate test
1 parent d755f0f commit 998d6bf

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)