mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
Jenkins fixes
This commit is contained in:
@@ -37860,7 +37860,7 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
||||
#endif
|
||||
if (sess == NULL) {
|
||||
ret = TlsSessionCacheGetAndRdLock(id, &sess, &freeCtx->row,
|
||||
ssl->options.side);
|
||||
(byte)ssl->options.side);
|
||||
if (ret != 0)
|
||||
sess = NULL;
|
||||
}
|
||||
|
@@ -11678,8 +11678,9 @@ err:
|
||||
"-----BEGIN X509 CRL-----")) {
|
||||
/* We have a crl */
|
||||
WOLFSSL_MSG("Parsing crl");
|
||||
if((PemToDer((const unsigned char*) header, footerEnd - header,
|
||||
CRL_TYPE, &der, NULL, NULL, NULL)) < 0) {
|
||||
if((PemToDer((const unsigned char*) header,
|
||||
(long)(footerEnd - header), CRL_TYPE, &der, NULL, NULL,
|
||||
NULL)) < 0) {
|
||||
WOLFSSL_MSG("PemToDer error");
|
||||
goto err;
|
||||
}
|
||||
|
@@ -1679,7 +1679,7 @@ options: [-s max_relative_stack_bytes] [-m max_relative_heap_memory_bytes]\n\
|
||||
#if defined(USE_CERT_BUFFERS_2048) && \
|
||||
defined(HAVE_PKCS12) && \
|
||||
!defined(NO_ASN) && !defined(NO_PWDBASED) && !defined(NO_HMAC) && \
|
||||
!defined(NO_CERTS)
|
||||
!defined(NO_CERTS) && !defined(NO_DES3)
|
||||
if ( (ret = pkcs12_test()) != 0)
|
||||
TEST_FAIL("PKCS12 test failed!\n", ret);
|
||||
else
|
||||
@@ -24870,7 +24870,7 @@ WOLFSSL_TEST_SUBROUTINE wc_test_ret_t pwdbased_test(void)
|
||||
#if defined(USE_CERT_BUFFERS_2048) && \
|
||||
defined(HAVE_PKCS12) && \
|
||||
!defined(NO_ASN) && !defined(NO_PWDBASED) && !defined(NO_HMAC) && \
|
||||
!defined(NO_CERTS)
|
||||
!defined(NO_CERTS) && !defined(NO_DES3)
|
||||
WOLFSSL_TEST_SUBROUTINE wc_test_ret_t pkcs12_test(void)
|
||||
{
|
||||
wc_test_ret_t ret = 0;
|
||||
|
@@ -37,6 +37,7 @@
|
||||
#include <wolfssl/wolfcrypt/logging.h>
|
||||
#include <wolfssl/wolfcrypt/memory.h>
|
||||
#include <wolfssl/wolfcrypt/types.h>
|
||||
#include <wolfssl/wolfcrypt/pkcs12.h>
|
||||
|
||||
/* For the types */
|
||||
#include <wolfssl/openssl/compat_types.h>
|
||||
@@ -2973,7 +2974,6 @@ WOLFSSL_API int wolfSSL_connect_cert(WOLFSSL* ssl);
|
||||
|
||||
|
||||
/* PKCS12 compatibility */
|
||||
typedef struct WC_PKCS12 WC_PKCS12;
|
||||
WOLFSSL_API WC_PKCS12* wolfSSL_d2i_PKCS12_bio(WOLFSSL_BIO* bio,
|
||||
WC_PKCS12** pkcs12);
|
||||
WOLFSSL_API int wolfSSL_i2d_PKCS12_bio(WOLFSSL_BIO *bio, WC_PKCS12 *pkcs12);
|
||||
|
@@ -29,9 +29,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef WOLFSSL_TYPES_DEFINED /* do not redeclare from ssl.h */
|
||||
typedef struct WC_PKCS12 WC_PKCS12;
|
||||
#endif
|
||||
typedef struct WC_PKCS12 WC_PKCS12;
|
||||
|
||||
typedef struct WC_DerCertList { /* dereferenced in ssl.c */
|
||||
byte* buffer;
|
||||
|
Reference in New Issue
Block a user