summaryrefslogtreecommitdiffstats
path: root/test/crltest.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2017-11-11 22:23:12 +0100
committerAndy Polyakov <appro@openssl.org>2017-11-13 10:58:57 +0100
commit3a63c0edab842af3e84ef1cad2b4eb701eece3e1 (patch)
treec45bf7fb2f69874b2779b33e5597a59bbc92e648 /test/crltest.c
parentssl/ssl_asn1.c: resolve warnings in VC-WIN32 build, which allows to add /WX. (diff)
downloadopenssl-3a63c0edab842af3e84ef1cad2b4eb701eece3e1.tar.xz
openssl-3a63c0edab842af3e84ef1cad2b4eb701eece3e1.zip
Resolve warnings in VC-WIN32 build, which allows to add /WX.
It's argued that /WX allows to keep better focus on new code, which motivates its comeback... Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4721)
Diffstat (limited to 'test/crltest.c')
-rw-r--r--test/crltest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/crltest.c b/test/crltest.c
index 738ca23ce5..b96463705c 100644
--- a/test/crltest.c
+++ b/test/crltest.c
@@ -261,7 +261,7 @@ static int verify(X509 *leaf, X509 *root, STACK_OF(X509_CRL) *crls,
X509_STORE_CTX_set0_trusted_stack(ctx, roots);
X509_STORE_CTX_set0_crls(ctx, crls);
X509_VERIFY_PARAM_set_time(param, PARAM_TIME);
- if (!TEST_long_eq(X509_VERIFY_PARAM_get_time(param), PARAM_TIME))
+ if (!TEST_long_eq((long)X509_VERIFY_PARAM_get_time(param), PARAM_TIME))
goto err;
X509_VERIFY_PARAM_set_depth(param, 16);
if (flags)