mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
Make OPENSSL_free(dh_string_repr) conditional.
This commit is contained in:
parent
aaaf082ed6
commit
7f9066ceee
@ -1740,7 +1740,8 @@ crypto_store_dynamic_dh_modulus(const char *fname)
|
|||||||
done:
|
done:
|
||||||
if (dh)
|
if (dh)
|
||||||
DH_free(dh);
|
DH_free(dh);
|
||||||
OPENSSL_free(dh_string_repr);
|
if (dh_string_repr)
|
||||||
|
OPENSSL_free(dh_string_repr);
|
||||||
tor_free(base64_encoded_dh);
|
tor_free(base64_encoded_dh);
|
||||||
tor_free(file_string);
|
tor_free(file_string);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user