summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops/crypto_init.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-17 11:27:08 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-31 19:46:00 -0400
commit17ea931ac70af3cc11c1729b09b8e1ff17a53348 (patch)
treee5662451f912f09d57bbc469f4931080ace12640 /src/lib/crypt_ops/crypto_init.c
parent32bbc8f6b5e7d964439c6ba91f87f7d5fba673cc (diff)
downloadtor-17ea931ac70af3cc11c1729b09b8e1ff17a53348.tar.gz
tor-17ea931ac70af3cc11c1729b09b8e1ff17a53348.zip
Implement DH in NSS.
Diffstat (limited to 'src/lib/crypt_ops/crypto_init.c')
-rw-r--r--src/lib/crypt_ops/crypto_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/crypto_init.c b/src/lib/crypt_ops/crypto_init.c
index b651474cf8..620fe8e1be 100644
--- a/src/lib/crypt_ops/crypto_init.c
+++ b/src/lib/crypt_ops/crypto_init.c
@@ -83,6 +83,8 @@ crypto_global_init(int useAccel, const char *accelName, const char *accelDir)
crypto_global_initialized_ = 1;
+ crypto_dh_init();
+
#ifdef ENABLE_OPENSSL
if (crypto_openssl_late_init(useAccel, accelName, accelDir) < 0)
return -1;