Update unit test

This commit is contained in:
Carie Pointer
2018-05-22 09:22:01 -06:00
parent 6cc84d2301
commit df24bc6096

View File

@@ -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