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
pull/2501/head
David Garske 2019-10-04 10:33:37 -07:00 committed by GitHub
commit d48e904c16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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