]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a compilation warning for our bug4822 fix on 64-bit linux
authorNick Mathewson <nickm@torproject.org>
Wed, 11 Jan 2012 16:06:31 +0000 (11:06 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 11 Jan 2012 16:06:31 +0000 (11:06 -0500)
src/common/tortls.c

index d88a59b9c700d8640ff1b6fd1907105cef9e8558..e624183c94c6b78a72b717887312e83ab063800d 100644 (file)
@@ -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);
   }