Skip to content

Commit 9d95541

Browse files
fix
1 parent ae6f45b commit 9d95541

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

code/tests/cases/test_auth.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ FOSSIL_TEST_CASE(c_test_chacha20_block_vector) {
129129
uint8_t out[64];
130130
fossil_cryptic_auth_chacha20_block(key, nonce, 1, out);
131131
// First 4 bytes should be 0x10f1e7e4
132-
ASSUME_ITS_EQUAL(out[0], 0x10);
133-
ASSUME_ITS_EQUAL(out[1], 0xf1);
134-
ASSUME_ITS_EQUAL(out[2], 0xe7);
135-
ASSUME_ITS_EQUAL(out[3], 0xe4);
132+
ASSUME_ITS_EQUAL_I32(out[0], 0x10);
133+
ASSUME_ITS_EQUAL_I32(out[1], 0xf1);
134+
ASSUME_ITS_EQUAL_I32(out[2], 0xe7);
135+
ASSUME_ITS_EQUAL_I32(out[3], 0xe4);
136136
}
137137

138138
FOSSIL_TEST_CASE(c_test_chacha20_xor_roundtrip) {

0 commit comments

Comments
 (0)