From 59a987aa00db37e92ea6cde46d4ee4598b301a0d Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Fri, 28 Feb 2025 16:06:24 -0700 Subject: [PATCH] Remove trailing whitespace --- tests/api/test_evp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/api/test_evp.c b/tests/api/test_evp.c index d4e7b53e61..614a977b16 100644 --- a/tests/api/test_evp.c +++ b/tests/api/test_evp.c @@ -47,17 +47,17 @@ int test_wolfSSL_EVP_CipherUpdate_Null(void) ExpectNotNull(ctx); /* Initialize with NULL cipher */ - ExpectIntEQ(wolfSSL_EVP_CipherInit_ex(ctx, wolfSSL_EVP_enc_null(), + ExpectIntEQ(wolfSSL_EVP_CipherInit_ex(ctx, wolfSSL_EVP_enc_null(), NULL, NULL, NULL, 1), WOLFSSL_SUCCESS); /* Test encryption (which should just copy the data) */ - ExpectIntEQ(wolfSSL_EVP_CipherUpdate(ctx, output, &outputLen, - (const unsigned char*)testData, + ExpectIntEQ(wolfSSL_EVP_CipherUpdate(ctx, output, &outputLen, + (const unsigned char*)testData, testDataLen), WOLFSSL_SUCCESS); - + /* Verify output length matches input length */ ExpectIntEQ(outputLen, testDataLen); - + /* Verify output data matches input data (no encryption occurred) */ ExpectIntEQ(XMEMCMP(output, testData, testDataLen), 0);