Merge pull request #2864 from JacobBarthelmeh/ARMv8

Fix for clang warning with ARM assembly build
This commit is contained in:
toddouska 2020-03-24 09:51:11 -07:00 committed by GitHub
commit b92e5d83c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22474,7 +22474,7 @@ static void test_wolfSSL_BN(void)
AssertIntEQ(BN_set_word(a, 1), SSL_SUCCESS);
AssertIntEQ(BN_set_word(b, 5), SSL_SUCCESS);
AssertIntEQ(BN_is_word(a, BN_get_word(a)), SSL_SUCCESS);
AssertIntEQ(BN_is_word(a, (WOLFSSL_BN_ULONG)BN_get_word(a)), SSL_SUCCESS);
AssertIntEQ(BN_is_word(a, 3), SSL_FAILURE);
AssertIntEQ(BN_sub(c, a, b), SSL_SUCCESS);
#if defined(WOLFSSL_KEY_GEN) || defined(HAVE_COMP_KEY)