mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
Fix wc_AesGcmDecrypt
arg check for authIn
.
This commit is contained in:
@@ -2596,7 +2596,7 @@ int wc_AesGcmDecrypt(Aes* aes, byte* out, const byte* in, word32 sz,
|
||||
/* sanity checks */
|
||||
if (aes == NULL || (iv == NULL && ivSz > 0) ||
|
||||
(authTag == NULL) ||
|
||||
(authIn == NULL) ||
|
||||
(authIn == NULL && authInSz > 0) ||
|
||||
(in == NULL && sz > 0) ||
|
||||
(out == NULL && sz > 0)) {
|
||||
WOLFSSL_MSG("a NULL parameter passed in when size is larger than 0");
|
||||
|
Reference in New Issue
Block a user