Parcourir la source

Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2

Nick Mathewson il y a 14 ans
Parent
commit
0126150c2d
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/common/tortls.c

+ 2 - 2
src/common/tortls.c

@@ -802,8 +802,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);
   }