mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Update unit test
This commit is contained in:
14
tests/api.c
14
tests/api.c
@@ -24,10 +24,6 @@
|
||||
| Includes
|
||||
*----------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef NO_SIG_WRAPPER
|
||||
#include <wolfssl/wolfcrypt/signature.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
@@ -226,6 +222,11 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef NO_SIG_WRAPPER
|
||||
#include <wolfssl/wolfcrypt/signature.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef HAVE_AESCCM
|
||||
#include <wolfssl/wolfcrypt/aes.h>
|
||||
#endif
|
||||
@@ -14741,8 +14742,7 @@ static int test_wc_SignatureGetSize(void) {
|
||||
int ret = 0;
|
||||
enum wc_SignatureType sig_type;
|
||||
word32 key_len;
|
||||
ecc_key ecc;
|
||||
|
||||
ecc_key ecc;
|
||||
RsaKey rsa_key;
|
||||
byte* tmp = NULL;
|
||||
size_t bytes;
|
||||
@@ -18964,8 +18964,6 @@ void ApiTest(void)
|
||||
AssertIntEQ(test_wc_DsaImportParamsRaw(), 0);
|
||||
AssertIntEQ(test_wc_DsaExportParamsRaw(), 0);
|
||||
AssertIntEQ(test_wc_DsaExportKeyRaw(), 0);
|
||||
|
||||
/*NEW*/
|
||||
AssertIntEQ(test_wc_SignatureGetSize(), 0);
|
||||
|
||||
#ifdef OPENSSL_EXTRA
|
||||
|
Reference in New Issue
Block a user