forked from wolfSSL/wolfssl
NO_RSA with ecc build fixes
This commit is contained in:
@@ -370,6 +370,9 @@ void c32to24(word32 in, word24 out);
|
|||||||
|
|
||||||
#ifdef NO_AES
|
#ifdef NO_AES
|
||||||
#define AES_BLOCK_SIZE 16
|
#define AES_BLOCK_SIZE 16
|
||||||
|
#else
|
||||||
|
#undef BUILD_AES
|
||||||
|
#define BUILD_AES
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BUILD_AESGCM) || defined(HAVE_AESCCM)
|
#if defined(BUILD_AESGCM) || defined(HAVE_AESCCM)
|
||||||
|
@@ -85,8 +85,10 @@ void echoclient_test(void* args)
|
|||||||
ctx = SSL_CTX_new(method);
|
ctx = SSL_CTX_new(method);
|
||||||
|
|
||||||
#ifndef NO_FILESYSTEM
|
#ifndef NO_FILESYSTEM
|
||||||
|
#ifndef NO_RSA
|
||||||
if (SSL_CTX_load_verify_locations(ctx, caCert, 0) != SSL_SUCCESS)
|
if (SSL_CTX_load_verify_locations(ctx, caCert, 0) != SSL_SUCCESS)
|
||||||
err_sys("can't load ca file, Please run from CyaSSL home dir");
|
err_sys("can't load ca file, Please run from CyaSSL home dir");
|
||||||
|
#endif
|
||||||
#ifdef HAVE_ECC
|
#ifdef HAVE_ECC
|
||||||
if (SSL_CTX_load_verify_locations(ctx, eccCert, 0) != SSL_SUCCESS)
|
if (SSL_CTX_load_verify_locations(ctx, eccCert, 0) != SSL_SUCCESS)
|
||||||
err_sys("can't load ca file, Please run from CyaSSL home dir");
|
err_sys("can't load ca file, Please run from CyaSSL home dir");
|
||||||
|
@@ -9109,6 +9109,9 @@ int SetCipherList(Suites* s, const char* list)
|
|||||||
byte hashAlgo = sha_mac;
|
byte hashAlgo = sha_mac;
|
||||||
byte sigAlgo = anonymous_sa_algo;
|
byte sigAlgo = anonymous_sa_algo;
|
||||||
|
|
||||||
|
(void)out;
|
||||||
|
(void)outLen;
|
||||||
|
|
||||||
#ifdef CYASSL_CALLBACKS
|
#ifdef CYASSL_CALLBACKS
|
||||||
if (ssl->hsInfoOn)
|
if (ssl->hsInfoOn)
|
||||||
AddPacketName("CertificateVerify", &ssl->handShakeInfo);
|
AddPacketName("CertificateVerify", &ssl->handShakeInfo);
|
||||||
|
Reference in New Issue
Block a user