summaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-10-09 09:04:53 -0400
committerNick Mathewson <nickm@torproject.org>2018-10-09 09:04:53 -0400
commit361eaa9931f8043b049a0bb8b943d0c6422f5aa0 (patch)
tree498d4df6fc3aa7490b5f85f53a9c70d92b97cd56 /src/lib/crypt_ops
parent43211c3a0c4b56d4100daf3a541250b953fb7230 (diff)
parent9e1a3be0645ca2dad7d6eb8aa00559efec945835 (diff)
downloadtor-361eaa9931f8043b049a0bb8b943d0c6422f5aa0.tar.gz
tor-361eaa9931f8043b049a0bb8b943d0c6422f5aa0.zip
Merge remote-tracking branch 'public/ticket27856'
Diffstat (limited to 'src/lib/crypt_ops')
-rw-r--r--src/lib/crypt_ops/crypto_dh_nss.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/crypto_dh_nss.c b/src/lib/crypt_ops/crypto_dh_nss.c
index 9a14b809b4..e2d9040f5e 100644
--- a/src/lib/crypt_ops/crypto_dh_nss.c
+++ b/src/lib/crypt_ops/crypto_dh_nss.c
@@ -53,6 +53,8 @@ crypto_dh_init_nss(void)
circuit_dh_param.prime.len = DH1024_KEY_LEN;
circuit_dh_param.base.data = dh_generator_data;
circuit_dh_param.base.len = 1;
+
+ dh_initialized = 1;
}
void