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