Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wolfcrypt/src/chacha20_poly1305.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ int wc_XChaCha20Poly1305_Init(
byte authKey[CHACHA20_POLY1305_AEAD_KEYSIZE];
int ret;

if ((ad == NULL) || (nonce == NULL) || (key == NULL))
if ((aead == NULL) || (nonce == NULL) || (key == NULL))
return BAD_FUNC_ARG;

if ((key_len != CHACHA20_POLY1305_AEAD_KEYSIZE) ||
Expand Down