mirror of https://github.com/wolfSSL/wolfssl.git
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 platformpull/2501/head
commit
d48e904c16
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue