From 157afd0992b715e314bbef22dab1cbaf4fcdfad6 Mon Sep 17 00:00:00 2001 From: Alan Tang Date: Tue, 10 Dec 2024 11:11:39 +0800 Subject: [PATCH] fix: inconsistent parameters passed for modifying TLS configuration Signed-off-by: Alan Tang --- crates/xline/tests/it/tls_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/xline/tests/it/tls_test.rs b/crates/xline/tests/it/tls_test.rs index 5e8f1a01c..9516e8a52 100644 --- a/crates/xline/tests/it/tls_test.rs +++ b/crates/xline/tests/it/tls_test.rs @@ -105,7 +105,7 @@ fn basic_tls_configs(size: usize) -> Vec { .peer_ca_cert_path(None) .peer_cert_path(Some(PathBuf::from("../../fixtures/server.crt"))) .peer_key_path(Some(PathBuf::from("../../fixtures/server.key"))) - .peer_ca_cert_path(Some(PathBuf::from("../../fixtures/ca.crt"))) + .client_ca_cert_path(Some(PathBuf::from("../../fixtures/ca.crt"))) .client_cert_path(None) .client_key_path(None) .build(),