help out clang static analyzer

This commit is contained in:
Jacob Barthelmeh
2016-01-18 10:22:12 -07:00
parent 1ab9f19541
commit 268515018d

View File

@ -454,6 +454,7 @@ static int wc_RsaPad_OAEP(const byte* input, word32 inputLen, byte* pkcsBlock,
#endif
return MEMORY_E;
}
XMEMSET(dbMask, 0, pkcsBlockLen - hLen - 1); /* help static analyzer */
ret = wc_MGF(mgf, seed, hLen, dbMask, pkcsBlockLen - hLen - 1);
if (ret != 0) {