mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-04-28 22:13:23 +02:00
Merge pull request #2482 from SparkiDev/cppcheck_fixes_1
Fixes from using cppcheck tool
This commit is contained in:
@@ -104,6 +104,8 @@ static int hashGetHash(wolfssl_TI_Hash *hash, byte* result, word32 algo, word32
|
||||
#else
|
||||
(void) hash;
|
||||
(void) algo;
|
||||
|
||||
XMEMSET(h, 0, sizeof(h));
|
||||
#endif
|
||||
XMEMCPY(result, h, hsize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user