From: Nick Mathewson Date: Wed, 11 Jan 2012 16:06:31 +0000 (-0500) Subject: Fix a compilation warning for our bug4822 fix on 64-bit linux X-Git-Tag: tor-0.2.3.11-alpha~25^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d5c0e58ea19fa1bc662c23e1a7ae77d688400fc;p=thirdparty%2Ftor.git Fix a compilation warning for our bug4822 fix on 64-bit linux --- diff --git a/src/common/tortls.c b/src/common/tortls.c index d88a59b9c7..e624183c94 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -775,8 +775,8 @@ tor_tls_context_new(crypto_pk_env_t *identity, unsigned int key_lifetime, "might otherwise be vulnerable to CVE-2011-4657 " "(compile-time version %08lx (%s); " "runtime version %08lx (%s))", - OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT, - SSLeay(), SSLeay_version(SSLEAY_VERSION)); + (unsigned long)OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT, + (unsigned long)SSLeay(), SSLeay_version(SSLEAY_VERSION)); SSL_CTX_set_options(result->ctx, SSL_OP_NO_SSLv3); }