api.c: in test_wolfSSL_EVP_X_STATE_LEN(), fix assert on size of EVP state to work on 32 bit targets.

This commit is contained in:
Daniel Pouzzner
2020-12-09 14:04:16 -06:00
parent f31b41fcca
commit 181f439028

View File

@@ -34233,7 +34233,7 @@ static void test_wolfSSL_EVP_X_STATE_LEN(void)
wolfSSL_EVP_CIPHER_CTX_init(ctx);
AssertIntEQ(EVP_CipherInit(ctx, init, key, iv, 1), WOLFSSL_SUCCESS);
AssertIntEQ(wolfSSL_EVP_X_STATE_LEN(ctx), 272);
AssertIntEQ(wolfSSL_EVP_X_STATE_LEN(ctx), sizeof(Arc4));
EVP_CIPHER_CTX_free(ctx);