fix dh_test drbg memory leak
This commit is contained in:
parent
66f14c8a9a
commit
e499b8f828
@ -3954,6 +3954,10 @@ int dh_test(void)
|
||||
FreeDhKey(&key);
|
||||
FreeDhKey(&key2);
|
||||
|
||||
#if defined(HAVE_HASHDRBG) || defined(NO_RC4)
|
||||
FreeRng(&rng);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user