Skip to content

Commit 9a0df8d

Browse files
sjaeckelkarel-m
authored andcommitted
fix scan-build
1 parent ac5192c commit 9a0df8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encauth/ccm/ccm_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ int ccm_test(void)
259259
/* VALID tag */
260260
taglen = sizeof(valid_tag);
261261
err = ccm_memory(idx, key, sizeof(key), NULL, iv, sizeof(iv), NULL, 0,
262-
pt, sizeof(ct), ct, invalid_tag, &taglen, CCM_DECRYPT);
262+
pt, sizeof(ct), ct, valid_tag, &taglen, CCM_DECRYPT);
263263
if ((err != CRYPT_OK) || (XMEMCMP(msg, pt, sizeof(msg)) != 0)) {
264264
return CRYPT_FAIL_TESTVECTOR;
265265
}

0 commit comments

Comments
 (0)