Skip to content

Commit b5b8cce

Browse files
committed
fixes nit
1 parent 8f8f31c commit b5b8cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/opensk/src/ctap/client_pin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ mod test {
12241224
),
12251225
// Reject PIN "12'\0'4" (a zero byte at index 2).
12261226
(
1227-
b"12\x004".to_vec(),
1227+
[b'1', b'2', 0, b'4'].to_vec(),
12281228
Err(Ctap2StatusCode::CTAP2_ERR_PIN_POLICY_VIOLATION),
12291229
),
12301230
// PINs must be at most 63 bytes long, to allow for a trailing 0u8 padding.

0 commit comments

Comments
 (0)