From 7fb5e2517922f8a6de5e2936907e1fbe8da62e64 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 15:55:00 +0000 Subject: [PATCH] Fix function prototypes in test_evp files Co-Authored-By: lealem@wolfssl.com --- tests/api/test_evp.c | 10 ++++++++++ tests/api/test_evp.h | 1 + 2 files changed, 11 insertions(+) diff --git a/tests/api/test_evp.c b/tests/api/test_evp.c index a2dfb2841..b41293a8c 100644 --- a/tests/api/test_evp.c +++ b/tests/api/test_evp.c @@ -29,9 +29,19 @@ #include #include +#include #ifdef OPENSSL_EXTRA +/* Test for NULL_CIPHER_TYPE in wolfSSL_EVP_CipherUpdate() */ +static int TestNullCipherUpdate(void); +/* Test for NULL_CIPHER_TYPE with empty data */ +static int TestNullCipherUpdateEmptyData(void); +/* Test for NULL_CIPHER_TYPE with large data */ +static int TestNullCipherUpdateLargeData(void); +/* Test for NULL_CIPHER_TYPE with multiple updates */ +static int TestNullCipherUpdateMultiple(void); + /* Test for NULL_CIPHER_TYPE in wolfSSL_EVP_CipherUpdate() */ static int TestNullCipherUpdate(void) { diff --git a/tests/api/test_evp.h b/tests/api/test_evp.h index 90750cbe3..dce6b3330 100644 --- a/tests/api/test_evp.h +++ b/tests/api/test_evp.h @@ -23,6 +23,7 @@ #define WOLFSSL_TEST_EVP_H #ifdef OPENSSL_EXTRA +/* Function to register all EVP tests */ int TestEvpAll(void); #endif /* OPENSSL_EXTRA */