diff --git a/ctaocrypt/test/test.c b/ctaocrypt/test/test.c index 5d26f3780..ca18a6764 100644 --- a/ctaocrypt/test/test.c +++ b/ctaocrypt/test/test.c @@ -3870,6 +3870,10 @@ int rsa_test(void) #endif free(tmp); +#if defined(HAVE_HASHDRBG) || defined(NO_RC4) + FreeRng(&rng); +#endif + return 0; }