diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-09-04 12:32:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-09-06 11:31:22 -0400 |
commit | e3a130a7eb6e56a150c1902641efa5a7e0f62ad4 (patch) | |
tree | a8cb04cef651b3845fbe243f1fd9fab0e7e2af43 /src/common/aes.c | |
parent | 485b4b7eee3bebf3f783d5d0d5d3c9cd8133f7f7 (diff) | |
download | tor-e3a130a7eb6e56a150c1902641efa5a7e0f62ad4.tar.gz tor-e3a130a7eb6e56a150c1902641efa5a7e0f62ad4.zip |
Don't log about Libevent/OpenSSL initialization when all's well
OTOH, log the Libevent and OpenSSL versions on the first line when
we're starting Tor.
Diffstat (limited to 'src/common/aes.c')
-rw-r--r-- | src/common/aes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/aes.c b/src/common/aes.c index 59d864a3d0..dd89d5d1ec 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -212,11 +212,11 @@ evaluate_evp_for_aes(int force_val) e = ENGINE_get_cipher_engine(NID_aes_128_ecb); if (e) { - log_notice(LD_CRYPTO, "AES engine \"%s\" found; using EVP_* functions.", + log_info(LD_CRYPTO, "AES engine \"%s\" found; using EVP_* functions.", ENGINE_get_name(e)); should_use_EVP = 1; } else { - log_notice(LD_CRYPTO, "No AES engine found; using AES_* functions."); + log_info(LD_CRYPTO, "No AES engine found; using AES_* functions."); should_use_EVP = 0; } #endif @@ -263,12 +263,12 @@ evaluate_ctr_for_aes(void) "not using it."); } else { /* Counter mode is okay */ - log_notice(LD_CRYPTO, "This OpenSSL has a good implementation of counter " + log_info(LD_CRYPTO, "This OpenSSL has a good implementation of counter " "mode; using it."); should_use_openssl_CTR = 1; } #else - log_notice(LD_CRYPTO, "This version of OpenSSL has a slow implementation of " + log_info(LD_CRYPTO, "This version of OpenSSL has a slow implementation of " "counter mode; not using it."); #endif return 0; |