Skip to content

Commit 126545f

Browse files
committed
test(server): align tls test with from_files Option<&Path> signature
TlsAcceptor::from_files now accepts the client CA path as Option<&Path> (per the require_client_auth refactor on main). Wrap the helper's CA path in Some(...) so the new plaintext-service-http tests compile after rebasing onto current main.
1 parent 9610791 commit 126545f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/openshell-server/src

crates/openshell-server/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ mod tests {
793793
let acceptor = TlsAcceptor::from_files(
794794
&dir.path().join("server-cert.pem"),
795795
&dir.path().join("server-key.pem"),
796-
&dir.path().join("ca.pem"),
796+
Some(&dir.path().join("ca.pem")),
797797
false,
798798
)
799799
.expect("failed to build tls acceptor");

0 commit comments

Comments
 (0)