summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@gmail.com>2011-11-25 00:59:47 +0100
committerGeorge Kadianakis <desnacked@gmail.com>2011-11-25 00:59:47 +0100
commitbdeb797a130c0d11dd6c1d7375eba468a09c6245 (patch)
tree44535282c13bbb98ab096ad77a09d1e6e8d04ae7
parent5f3f41c23412e149add77a30e82431eb018cd376 (diff)
downloadtor-bdeb797a130c0d11dd6c1d7375eba468a09c6245.tar.gz
tor-bdeb797a130c0d11dd6c1d7375eba468a09c6245.zip
Notify the user that her computer is generating numbers.
-rw-r--r--src/common/crypto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 83f56a5d87..4e96fed90a 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1989,7 +1989,8 @@ crypto_set_tls_dh_prime(const char *dynamic_prime_fname)
tls_prime = crypto_get_stored_dynamic_prime(dynamic_prime_fname);
if (!tls_prime) {
- log_info(LD_OR, "Generating fresh dynamic prime.");
+ log_notice(LD_OR, "Generating fresh dynamic prime. "
+ "This might take a while...");
tls_prime = crypto_generate_dynamic_prime();
}
} else { /* use the static DH prime modulus used by Apache in mod_ssl: */