From: Nick Mathewson Date: Sun, 18 Nov 2012 06:36:03 +0000 (-0500) Subject: Make ssl version check in unit tests work X-Git-Tag: release-2.0.21-stable~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f38e07886829bb4613d3fa08c06d65b2d18ae584;p=libevent Make ssl version check in unit tests work --- diff --git a/test/regress_ssl.c b/test/regress_ssl.c index 271a962f..1ce5f6aa 100644 --- a/test/regress_ssl.c +++ b/test/regress_ssl.c @@ -159,7 +159,7 @@ init_ssl(void) SSL_load_error_strings(); OpenSSL_add_all_algorithms(); if (SSLeay() != OPENSSL_VERSION_NUMBER) { - TT_DECLARE("WARN", ("Version mismatch for openssl: compiled with %lx but running with %lx", OPENSSL_VERSION_NUMBER, SSLeay())); + TT_DECLARE("WARN", ("Version mismatch for openssl: compiled with %lx but running with %lx", (unsigned long)OPENSSL_VERSION_NUMBER, (unsigned long)SSLeay())); } }