Skip to content

Commit

Permalink
Fix macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
kazk committed Dec 8, 2021
1 parent 0f91cd7 commit 7493a48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ fn peer_certificate() {
let socket = p!(builder.connect("localhost", socket));

let cert = socket.peer_certificate().unwrap().unwrap();
assert_eq!(cert.to_der().unwrap(), keys.client.ca.get_der());
assert_eq!(
cert.to_der().unwrap(),
keys.server.cert_and_key.cert.get_der()
);

p!(j.join());
}
Expand Down

0 comments on commit 7493a48

Please sign in to comment.