mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
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:
@@ -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);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user