summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-11-25 17:39:28 +0100
committerGeorge Kadianakis <desnacked@gmail.com>2011-11-25 17:39:28 +0100
commit4938bcc06a41b95f47def181ce03a7ade805595b (patch)
tree7362b50384714408a457bc31163f82c322eac015 /src/or/router.c
parent1d1d5ae7f8f91b62f0e86081ff1f7255c545383b (diff)
downloadtor-4938bcc06a41b95f47def181ce03a7ade805595b.tar.gz
tor-4938bcc06a41b95f47def181ce03a7ade805595b.zip
Do dynamic DH modulus storing in crypto.c.
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 963c781733..fdc83f5087 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -634,16 +634,6 @@ init_keys(void)
return -1;
}
- /** 3b. If we use a dynamic prime, store it to disk. */
- if (get_options()->DynamicDHGroups) {
- char *fname = get_datadir_fname2("keys", "dynamic_dh_modulus");
- if (crypto_store_dynamic_dh_modulus(fname)) {
- log_notice(LD_GENERAL, "Failed while storing dynamic prime. "
- "Make sure your data directory is sane.");
- }
- tor_free(fname);
- }
-
/* 4. Build our router descriptor. */
/* Must be called after keys are initialized. */
mydesc = router_get_my_descriptor();