mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 23:30:50 +02:00
tests/api.c and tests/api/test_pkcs7.c: fixes for CFLAGS="-Og" --enable-all (PRB-single-flag.txt line 3).
This commit is contained in:
+2
-2
@@ -18879,7 +18879,7 @@ static int test_wolfSSL_d2i_and_i2d_PublicKey_ecc(void)
|
||||
const unsigned char* p;
|
||||
unsigned char *der = NULL;
|
||||
unsigned char *tmp = NULL;
|
||||
int derLen;
|
||||
int derLen = -1;
|
||||
unsigned char pub_buf[65];
|
||||
unsigned char pub_spki_buf[91];
|
||||
const int pub_len = 65;
|
||||
@@ -18989,7 +18989,7 @@ static int test_wolfSSL_d2i_and_i2d_DSAparams(void)
|
||||
};
|
||||
int derInLen = sizeof(derIn);
|
||||
byte* derOut = NULL;
|
||||
int derOutLen;
|
||||
int derOutLen = -1;
|
||||
byte* p = derIn;
|
||||
|
||||
/* Check that params can be successfully decoded. */
|
||||
|
||||
@@ -3143,7 +3143,7 @@ int test_wc_PKCS7_GetEnvelopedDataKariRid(void)
|
||||
byte rid[256];
|
||||
byte cms[1024];
|
||||
XFILE cmsFile = XBADFILE;
|
||||
int ret;
|
||||
int ret = -1;
|
||||
word32 ridSz = sizeof(rid);
|
||||
XFILE skiHexFile = XBADFILE;
|
||||
byte skiHex[256];
|
||||
|
||||
Reference in New Issue
Block a user