Skip to content

Commit bbde032

Browse files
committed
Fix Ci
1 parent 4b4a7cc commit bbde032

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

tests/api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18514,7 +18514,7 @@ static int test_wolfSSL_d2i_and_i2d_PublicKey_ecc(void)
1851418514
const unsigned char* p;
1851518515
unsigned char *der = NULL;
1851618516
unsigned char *tmp = NULL;
18517-
int derLen;
18517+
int derLen = 0;
1851818518
unsigned char pub_buf[65];
1851918519
unsigned char pub_spki_buf[91];
1852018520
const int pub_len = 65;
@@ -18624,7 +18624,7 @@ static int test_wolfSSL_d2i_and_i2d_DSAparams(void)
1862418624
};
1862518625
int derInLen = sizeof(derIn);
1862618626
byte* derOut = NULL;
18627-
int derOutLen;
18627+
int derOutLen = 0;
1862818628
byte* p = derIn;
1862918629

1863018630
/* Check that params can be successfully decoded. */

tests/api/test_ocsp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,10 +1061,10 @@ static int ocspResponderTest_Run(OcspResponderTestConfig* config, int sendCerts)
10611061
word32 respSz = 0;
10621062
byte reqBuf[1024];
10631063
int reqSz = 0;
1064-
const char* caSubject;
1065-
word32 caSubjectSz;
1066-
const byte* serial;
1067-
word32 serialSz;
1064+
const char* caSubject = NULL;
1065+
word32 caSubjectSz = 0;
1066+
const byte* serial = NULL;
1067+
word32 serialSz = 0;
10681068
XFILE f = XBADFILE;
10691069

10701070
printf("\nRunning OCSP Responder Test: %s (sendCerts=%d)\n",

tests/api/test_pkcs7.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3051,7 +3051,7 @@ int test_wc_PKCS7_GetEnvelopedDataKariRid(void)
30513051
byte rid[256];
30523052
byte cms[1024];
30533053
XFILE cmsFile = XBADFILE;
3054-
int ret;
3054+
int ret = 0;
30553055
word32 ridSz = sizeof(rid);
30563056
XFILE skiHexFile = XBADFILE;
30573057
byte skiHex[256];

0 commit comments

Comments
 (0)