Author: Nick Mathewson <ni...@to...>
Date: Sun, 18 Nov 2012 01:36:03 -0500
Subject: Make ssl version check in unit tests work
Commit: f38e07886829bb4613d3fa08c06d65b2d18ae584
---
test/regress_ssl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/regress_ssl.c b/test/regress_ssl.c
index 271a962..1ce5f6a 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()));
}
}
--
1.7.4.1
|