mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 03:07:29 +02:00
Enable max/min int test even when non 64bit platform
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user