Skip to content

Commit

Permalink
Make ssl version check in unit tests work
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Nov 18, 2012
1 parent e3cccf3 commit f38e078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/regress_ssl.c
Expand Up @@ -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()));
}
}

Expand Down

0 comments on commit f38e078

Please sign in to comment.