aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-11 12:45:25 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-11 12:45:25 -0500
commit05ac3d0458466bd8ffc69339a4bf8e34088d9d80 (patch)
tree18741abb304de4419862314d9da2fa40aec900c4 /src/common/crypto.c
parent751595551afb6282d952c482a11db35daf3736ab (diff)
parent3b465ebf2eedecfa0659f91a6ed7dc667e7acde7 (diff)
downloadtor-05ac3d0458466bd8ffc69339a4bf8e34088d9d80.tar.gz
tor-05ac3d0458466bd8ffc69339a4bf8e34088d9d80.zip
Merge branch 'restart_nocrash'
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 4faf7c6838..85bed538e5 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -3470,6 +3470,8 @@ crypto_global_cleanup(void)
if (dh_param_g)
BN_clear_free(dh_param_g);
+ dh_param_p = dh_param_p_tls = dh_param_g = NULL;
+
#ifndef DISABLE_ENGINES
ENGINE_cleanup();
#endif