Skip to content

Commit 5470a74

Browse files
committed
fix example
1 parent e3cbfc0 commit 5470a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/client-certificate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn get_tls_config() -> OwnedTLSConfig {
1818
let client_cert_and_key_password = "bunnies";
1919

2020
OwnedTLSConfig {
21-
identity: Some(OwnedIdentity {
21+
identity: Some(OwnedIdentity::PKCS12 {
2222
der: client_cert_and_key.to_vec(),
2323
password: client_cert_and_key_password.to_string(),
2424
}),

0 commit comments

Comments
 (0)