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

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)