forked from wolfSSL/wolfssl
Fixes for CI build errors
This commit is contained in:
committed by
Daniel Pouzzner
parent
17c9e92b7f
commit
38c7de1707
@ -7596,8 +7596,8 @@ int wolfSSL_X509_LOOKUP_load_file(WOLFSSL_X509_LOOKUP* lookup,
|
|||||||
}
|
}
|
||||||
else if (wc_PemGetHeaderFooter(CERT_TYPE, &header, &footer) == 0 &&
|
else if (wc_PemGetHeaderFooter(CERT_TYPE, &header, &footer) == 0 &&
|
||||||
XSTRNSTR((char*)curr, header, (unsigned int)sz) != NULL) {
|
XSTRNSTR((char*)curr, header, (unsigned int)sz) != NULL) {
|
||||||
ret = wolfSSL_X509_STORE_load_cert_buffer(lookup->store, curr, sz,
|
ret = wolfSSL_X509_STORE_load_cert_buffer(lookup->store, curr,
|
||||||
WOLFSSL_FILETYPE_PEM);
|
(word32)sz, WOLFSSL_FILETYPE_PEM);
|
||||||
if (ret != WOLFSSL_SUCCESS)
|
if (ret != WOLFSSL_SUCCESS)
|
||||||
goto end;
|
goto end;
|
||||||
curr = (byte*)XSTRNSTR((char*)curr, footer, (unsigned int)sz);
|
curr = (byte*)XSTRNSTR((char*)curr, footer, (unsigned int)sz);
|
||||||
|
@ -1628,7 +1628,9 @@ WOLF_STACK_OF(WOLFSSL_X509_OBJECT)* wolfSSL_X509_STORE_get0_objects(
|
|||||||
WOLFSSL_STACK* ret = NULL;
|
WOLFSSL_STACK* ret = NULL;
|
||||||
WOLFSSL_STACK* cert_stack = NULL;
|
WOLFSSL_STACK* cert_stack = NULL;
|
||||||
WOLFSSL_X509* x509 = NULL;
|
WOLFSSL_X509* x509 = NULL;
|
||||||
|
#if defined(WOLFSSL_SIGNER_DER_CERT) && !defined(NO_FILESYSTEM)
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
#endif
|
||||||
WOLFSSL_ENTER("wolfSSL_X509_STORE_get0_objects");
|
WOLFSSL_ENTER("wolfSSL_X509_STORE_get0_objects");
|
||||||
|
|
||||||
if (store == NULL || store->cm == NULL) {
|
if (store == NULL || store->cm == NULL) {
|
||||||
|
Reference in New Issue
Block a user