Merge pull request #2496 from embhorn/test_ASN1_INTEGER_set

Add conditional check to test_wolfSSL_ASN1_INTEGER_set test case failing for 32-bit platform
This commit is contained in:
David Garske
2019-10-04 10:33:37 -07:00
committed by GitHub

View File

@@ -27420,6 +27420,7 @@ static void test_wolfSSL_ASN1_INTEGER_set()
AssertIntEQ(ret, 1);
wolfSSL_ASN1_INTEGER_free(a);
#ifndef TIME_T_NOT_64BIT
/* 2147483648 */
a = wolfSSL_ASN1_INTEGER_new();
val = 2147483648;
@@ -27434,6 +27435,7 @@ static void test_wolfSSL_ASN1_INTEGER_set()
AssertIntEQ(a->negative, 1);
AssertIntEQ(ret, 1);
wolfSSL_ASN1_INTEGER_free(a);
#endif
printf(resultFmt, passed);
#endif