summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-11-25 01:00:58 +0100
committerGeorge Kadianakis <desnacked@gmail.com>2011-11-25 01:00:58 +0100
commit7c37a664c17f4dd9748f096ea385c3627cc323fa (patch)
tree8b9b82ce7c746f874eb913f88319e36fdbae2b29 /src/or/config.c
parent782c907c7cbd3bf2bb75680f5d3deb2d984052de (diff)
downloadtor-7c37a664c17f4dd9748f096ea385c3627cc323fa.tar.gz
tor-7c37a664c17f4dd9748f096ea385c3627cc323fa.zip
Rename 'dynamic prime' to 'dynamic DH modulus'.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index fc3cc745f9..d403decb18 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1365,7 +1365,7 @@ options_act(const or_options_t *old_options)
/* If needed, generate a new TLS DH prime according to the current torrc. */
if (!old_options) {
if (options->DynamicDHGroups) {
- char *fname = get_datadir_fname2("keys", "dynamic_prime");
+ char *fname = get_datadir_fname2("keys", "dynamic_dh_modulus");
crypto_set_tls_dh_prime(fname);
tor_free(fname);
} else {
@@ -1373,7 +1373,7 @@ options_act(const or_options_t *old_options)
}
} else {
if (options->DynamicDHGroups && !old_options->DynamicDHGroups) {
- char *fname = get_datadir_fname2("keys", "dynamic_prime");
+ char *fname = get_datadir_fname2("keys", "dynamic_dh_modulus");
crypto_set_tls_dh_prime(fname);
tor_free(fname);
} else if (!options->DynamicDHGroups && old_options->DynamicDHGroups) {