forked from wolfSSL/wolfssl
fix ctaocrypt test RNG leak when using HASH-DRBG
This commit is contained in:
@@ -3870,6 +3870,10 @@ int rsa_test(void)
|
|||||||
#endif
|
#endif
|
||||||
free(tmp);
|
free(tmp);
|
||||||
|
|
||||||
|
#if defined(HAVE_HASHDRBG) || defined(NO_RC4)
|
||||||
|
FreeRng(&rng);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user