Skip to content

Commit 7493a48

Browse files
committed
Fix macOS build
1 parent 0f91cd7 commit 7493a48

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,10 @@ fn peer_certificate() {
186186
let socket = p!(builder.connect("localhost", socket));
187187

188188
let cert = socket.peer_certificate().unwrap().unwrap();
189-
assert_eq!(cert.to_der().unwrap(), keys.client.ca.get_der());
189+
assert_eq!(
190+
cert.to_der().unwrap(),
191+
keys.server.cert_and_key.cert.get_der()
192+
);
190193

191194
p!(j.join());
192195
}

0 commit comments

Comments
 (0)