[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Merge remote-tracking branch 'origin/maint-0.2.4'



commit 85284c33d1952711703087eb64149ef55ea775cf
Merge: f12d3fe dabdc33
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Dec 18 22:04:21 2013 -0500

    Merge remote-tracking branch 'origin/maint-0.2.4'
    
    Conflicts:
    	src/common/crypto.c

 changes/bug10402    |   11 +++++++++++
 src/common/crypto.c |   12 ++++++++++--
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --cc src/common/crypto.c
index 5afb98e,940a756..347f27e
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@@ -307,28 -286,12 +307,29 @@@ crypto_global_init(int useAccel, const 
                   " setting default ciphers.");
          ENGINE_set_default(e, ENGINE_METHOD_ALL);
        }
 +      /* Log, if available, the intersection of the set of algorithms
 +         used by Tor and the set of algorithms available in the engine */
        log_engine("RSA", ENGINE_get_default_RSA());
        log_engine("DH", ENGINE_get_default_DH());
 +      log_engine("ECDH", ENGINE_get_default_ECDH());
 +      log_engine("ECDSA", ENGINE_get_default_ECDSA());
 +      log_engine("RAND", ENGINE_get_default_RAND());
+       log_engine("RAND (which we will not use)", ENGINE_get_default_RAND());
        log_engine("SHA1", ENGINE_get_digest_engine(NID_sha1));
 -      log_engine("3DES", ENGINE_get_cipher_engine(NID_des_ede3_ecb));
 -      log_engine("AES", ENGINE_get_cipher_engine(NID_aes_128_ecb));
 +      log_engine("3DES-CBC", ENGINE_get_cipher_engine(NID_des_ede3_cbc));
 +      log_engine("AES-128-ECB", ENGINE_get_cipher_engine(NID_aes_128_ecb));
 +      log_engine("AES-128-CBC", ENGINE_get_cipher_engine(NID_aes_128_cbc));
 +#ifdef NID_aes_128_ctr
 +      log_engine("AES-128-CTR", ENGINE_get_cipher_engine(NID_aes_128_ctr));
 +#endif
 +#ifdef NID_aes_128_gcm
 +      log_engine("AES-128-GCM", ENGINE_get_cipher_engine(NID_aes_128_gcm));
 +#endif
 +      log_engine("AES-256-CBC", ENGINE_get_cipher_engine(NID_aes_256_cbc));
 +#ifdef NID_aes_256_gcm
 +      log_engine("AES-256-GCM", ENGINE_get_cipher_engine(NID_aes_256_gcm));
 +#endif
 +
  #endif
      } else {
        log_info(LD_CRYPTO, "NOT using OpenSSL engine support.");

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits