File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments