Enable max/min int test even when non 64bit platform

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
Masashi Honma
2021-11-17 11:49:10 +09:00
parent cb3fc0c7ce
commit 4800db1f9d

View File

@@ -48551,7 +48551,6 @@ static void test_wolfSSL_ASN1_INTEGER_get_set(void)
AssertIntEQ(ASN1_INTEGER_get(a), val); AssertIntEQ(ASN1_INTEGER_get(a), val);
ASN1_INTEGER_free(a); ASN1_INTEGER_free(a);
#ifndef TIME_T_NOT_64BIT
/* int max (2147483647) */ /* int max (2147483647) */
a = ASN1_INTEGER_new(); a = ASN1_INTEGER_new();
val = 2147483647; val = 2147483647;
@@ -48567,7 +48566,6 @@ static void test_wolfSSL_ASN1_INTEGER_get_set(void)
AssertIntEQ(ret, 1); AssertIntEQ(ret, 1);
AssertIntEQ(ASN1_INTEGER_get(a), val); AssertIntEQ(ASN1_INTEGER_get(a), val);
ASN1_INTEGER_free(a); ASN1_INTEGER_free(a);
#endif
printf(resultFmt, passed); printf(resultFmt, passed);
#endif #endif