mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-06 02:48:25 +00:00
fmt
This commit is contained in:
parent
63bb494e96
commit
5b43bd7837
1 changed files with 5 additions and 1 deletions
|
|
@ -140,7 +140,11 @@ mod mtls_e2e {
|
|||
let wrong_client_key = fixture_path("wrong-client.key");
|
||||
|
||||
// Client trusts the REAL server CA, but presents a cert from the WRONG CA
|
||||
let client = build_client(&pki.ca_cert, Some(&wrong_client_cert), Some(&wrong_client_key));
|
||||
let client = build_client(
|
||||
&pki.ca_cert,
|
||||
Some(&wrong_client_cert),
|
||||
Some(&wrong_client_key),
|
||||
);
|
||||
|
||||
let result = client
|
||||
.get(format!("https://127.0.0.1:{}{}", addr.port(), api("/runs")))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue