forked from wolfSSL/wolfssl
Check-in non-FIPS specific porting changes for OE22
Fix no new line Change comment style in testsuite.c Add include for proper socket header in wolfio.h Add dc_log_printf support to benchmark application Pull in changes for examples Refector NETOS check in test.c Fix format and remove settings used only for validation testing Implement peer review feedback Address last items noted in peer review Add new README to include.am Adjust comment style on TODO Gate changes in client and server properly Add static on customer feedback Fix settings include Update latest peer feedback
This commit is contained in:
@@ -2939,9 +2939,10 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
||||
|
||||
#ifndef NO_CERTS
|
||||
if (useClientCert && !loadCertKeyIntoSSLObj){
|
||||
#ifdef NO_FILESYSTEM
|
||||
if (wolfSSL_CTX_use_certificate_chain_buffer(ctx, client_cert_der_2048,
|
||||
sizeof_client_cert_der_2048) != WOLFSSL_SUCCESS)
|
||||
#if defined(NO_FILESYSTEM) && defined(USE_CERT_BUFFERS_2048)
|
||||
if (wolfSSL_CTX_use_certificate_chain_buffer_format(ctx,
|
||||
client_cert_der_2048, sizeof_client_cert_der_2048,
|
||||
WOLFSSL_FILETYPE_ASN1) != WOLFSSL_SUCCESS)
|
||||
err_sys("can't load client cert buffer");
|
||||
#elif !defined(TEST_LOAD_BUFFER)
|
||||
if (wolfSSL_CTX_use_certificate_chain_file(ctx, ourCert)
|
||||
|
||||
Reference in New Issue
Block a user