diff options
author | George Kadianakis <desnacked@gmail.com> | 2011-11-24 06:12:22 +0100 |
---|---|---|
committer | George Kadianakis <desnacked@gmail.com> | 2011-11-24 22:14:09 +0100 |
commit | cabb8e54c7240aeb20ccfa745d75c5ad4063edb3 (patch) | |
tree | 0f74bfa6ef1ad9745a6f7a3768e40ee8de211137 /src/common/crypto.c | |
parent | 8a726dd0dd28c4550a7f6f7d9aa5f72507d4716b (diff) | |
download | tor-cabb8e54c7240aeb20ccfa745d75c5ad4063edb3.tar.gz tor-cabb8e54c7240aeb20ccfa745d75c5ad4063edb3.zip |
Tone down the logging.
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 484366297d..72c3dd7c12 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1842,7 +1842,7 @@ crypto_generate_dynamic_prime(void) { /* log the dynamic prime: */ s = BN_bn2hex(dynamic_prime); tor_assert(s); - log_notice(LD_OR, "Dynamic prime generated: [%s]", s); + log_info(LD_OR, "Dynamic prime generated: [%s]", s); OPENSSL_free(s); } @@ -1874,10 +1874,10 @@ crypto_set_tls_dh_prime(int use_dynamic_primes, BIGNUM *stored_dynamic_prime) if (use_dynamic_primes) { /* use dynamic primes: */ if (stored_dynamic_prime) { - log_warn(LD_OR, "Using stored dynamic prime."); + log_info(LD_OR, "Using stored dynamic prime."); tls_prime = stored_dynamic_prime; } else { - log_notice(LD_OR, "Generating fresh dynamic prime."); + log_info(LD_OR, "Generating fresh dynamic prime."); tls_prime = crypto_generate_dynamic_prime(); } } else { /* use the static DH prime modulus used by Apache in mod_ssl: */ |