Removed dead code from _DhSetKey.

This commit is contained in:
Martin Kinčl
2019-05-16 16:58:41 +02:00
parent cae4d400b9
commit 27a9080ac3

View File

@ -2057,8 +2057,6 @@ static int _DhSetKey(DhKey* key, const byte* p, word32 pSz, const byte* g,
} }
if (ret != 0 && key != NULL) { if (ret != 0 && key != NULL) {
if (keyQ)
mp_clear(keyQ);
if (keyG) if (keyG)
mp_clear(keyG); mp_clear(keyG);
if (keyP) if (keyP)