validate id

This commit is contained in:
2024-05-16 17:14:44 +02:00
parent 3eabd4add6
commit a1a59cc714

View File

@@ -114,6 +114,7 @@ fn perform_handshake() -> Result<u128> {
assert_eq!(buf[0], 2); assert_eq!(buf[0], 2);
assert_eq!(number_of_bytes, 92); assert_eq!(number_of_bytes, 92);
assert_eq!(buf[8..12], id);
Ok(end.duration_since(start).as_nanos()) Ok(end.duration_since(start).as_nanos())
} }