Fix function prototypes in test_evp files

Co-Authored-By: lealem@wolfssl.com <lealem@wolfssl.com>
This commit is contained in:
Devin AI
2025-02-28 15:55:00 +00:00
parent 6538ee09f2
commit 7fb5e25179
2 changed files with 11 additions and 0 deletions

View File

@@ -29,9 +29,19 @@
#include <tests/unit.h>
#include <wolfssl/openssl/evp.h>
#include <tests/api/test_evp.h>
#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)
{

View File

@@ -23,6 +23,7 @@
#define WOLFSSL_TEST_EVP_H
#ifdef OPENSSL_EXTRA
/* Function to register all EVP tests */
int TestEvpAll(void);
#endif /* OPENSSL_EXTRA */