summaryrefslogtreecommitdiff
path: root/test/asn1_time_test.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-01-23 20:33:36 +0100
committerAndy Polyakov <appro@openssl.org>2018-01-31 22:17:16 +0100
commit79a0e87648bb932d88f117e96dabd2c4eb44cb99 (patch)
tree56dec2a2d757ee68bc6267ff5217d97091117013 /test/asn1_time_test.c
parent6b6981ef2963201dfcebc64b684d698c7b7ad17e (diff)
downloadopenssl-new-79a0e87648bb932d88f117e96dabd2c4eb44cb99.tar.gz
test/asn1_time_test.c: fix pre-C90 warning.
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com>
Diffstat (limited to 'test/asn1_time_test.c')
-rw-r--r--test/asn1_time_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asn1_time_test.c b/test/asn1_time_test.c
index 113b6fb01d..9b44b7172f 100644
--- a/test/asn1_time_test.c
+++ b/test/asn1_time_test.c
@@ -89,7 +89,7 @@ static struct testdata tbl_testdata_pos_64bit[] = {
{ "20380119031408Z", V_ASN1_GENERALIZEDTIME, V_ASN1_UTCTIME, 1, (time_t)0x80000000, 1, 1, },
{ "20380119031409Z", V_ASN1_GENERALIZEDTIME, V_ASN1_UTCTIME, 1, (time_t)0x80000001, 1, 1, },
{ "380119031408Z", V_ASN1_UTCTIME, V_ASN1_UTCTIME, 1, (time_t)0x80000000, 1, 1, },
- { "20500101120000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 1, (time_t)2524651200, 1, 0, },
+ { "20500101120000Z", V_ASN1_GENERALIZEDTIME, V_ASN1_GENERALIZEDTIME, 1, (time_t)0x967b1ec0, 1, 0, },
};
/* ASSUMES SIGNED TIME_T */