Skip to content

Commit 38c7de1

Browse files
ColtonWilleydouzzer
authored andcommitted
Fixes for CI build errors
1 parent 17c9e92 commit 38c7de1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/x509.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7596,8 +7596,8 @@ int wolfSSL_X509_LOOKUP_load_file(WOLFSSL_X509_LOOKUP* lookup,
75967596
}
75977597
else if (wc_PemGetHeaderFooter(CERT_TYPE, &header, &footer) == 0 &&
75987598
XSTRNSTR((char*)curr, header, (unsigned int)sz) != NULL) {
7599-
ret = wolfSSL_X509_STORE_load_cert_buffer(lookup->store, curr, sz,
7600-
WOLFSSL_FILETYPE_PEM);
7599+
ret = wolfSSL_X509_STORE_load_cert_buffer(lookup->store, curr,
7600+
(word32)sz, WOLFSSL_FILETYPE_PEM);
76017601
if (ret != WOLFSSL_SUCCESS)
76027602
goto end;
76037603
curr = (byte*)XSTRNSTR((char*)curr, footer, (unsigned int)sz);

src/x509_str.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,9 @@ WOLF_STACK_OF(WOLFSSL_X509_OBJECT)* wolfSSL_X509_STORE_get0_objects(
16281628
WOLFSSL_STACK* ret = NULL;
16291629
WOLFSSL_STACK* cert_stack = NULL;
16301630
WOLFSSL_X509* x509 = NULL;
1631+
#if defined(WOLFSSL_SIGNER_DER_CERT) && !defined(NO_FILESYSTEM)
16311632
int i = 0;
1633+
#endif
16321634
WOLFSSL_ENTER("wolfSSL_X509_STORE_get0_objects");
16331635

16341636
if (store == NULL || store->cm == NULL) {

0 commit comments

Comments
 (0)