mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +02:00
Fix function prototypes in test_evp files
Co-Authored-By: lealem@wolfssl.com <lealem@wolfssl.com>
This commit is contained in:
@@ -29,9 +29,19 @@
|
|||||||
|
|
||||||
#include <tests/unit.h>
|
#include <tests/unit.h>
|
||||||
#include <wolfssl/openssl/evp.h>
|
#include <wolfssl/openssl/evp.h>
|
||||||
|
#include <tests/api/test_evp.h>
|
||||||
|
|
||||||
#ifdef OPENSSL_EXTRA
|
#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() */
|
/* Test for NULL_CIPHER_TYPE in wolfSSL_EVP_CipherUpdate() */
|
||||||
static int TestNullCipherUpdate(void)
|
static int TestNullCipherUpdate(void)
|
||||||
{
|
{
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
#define WOLFSSL_TEST_EVP_H
|
#define WOLFSSL_TEST_EVP_H
|
||||||
|
|
||||||
#ifdef OPENSSL_EXTRA
|
#ifdef OPENSSL_EXTRA
|
||||||
|
/* Function to register all EVP tests */
|
||||||
int TestEvpAll(void);
|
int TestEvpAll(void);
|
||||||
#endif /* OPENSSL_EXTRA */
|
#endif /* OPENSSL_EXTRA */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user