Added a noop function wc_FreeRng() for when not using the HashDRBG to keep

the calls to InitRng and FreeRng simple and balanced.
This commit is contained in:
John Safranek
2015-03-20 14:19:35 -07:00
parent 0afd09d900
commit 9f2454fc78
10 changed files with 56 additions and 38 deletions

View File

@@ -642,6 +642,13 @@ int wc_RNG_GenerateByte(RNG* rng, byte* b)
}
int wc_FreeRng(RNG* rng)
{
(void)rng;
return 0;
}
#ifdef HAVE_CAVIUM
#include <wolfssl/ctaocrypt/logging.h>