memset DhKeys

This commit is contained in:
Tesfa Mael
2019-11-11 09:43:10 -08:00
parent 99ee4a407d
commit 68e4014c3f

View File

@@ -13039,6 +13039,9 @@ static int dh_test_ffdhe(WC_RNG *rng, const DhParams* params)
DhKey key;
DhKey key2;
XMEMSET(&key, 0, sizeof(DhKey));
XMEMSET(&key2, 0, sizeof(DhKey));
ret = wc_InitDhKey_ex(&key, HEAP_HINT, devId);
if (ret != 0) {
ERROR_OUT(-7180, done);