diff --git a/cyassl/internal.h b/cyassl/internal.h index 2fcefcb92..a8e99ee08 100644 --- a/cyassl/internal.h +++ b/cyassl/internal.h @@ -370,6 +370,9 @@ void c32to24(word32 in, word24 out); #ifdef NO_AES #define AES_BLOCK_SIZE 16 +#else + #undef BUILD_AES + #define BUILD_AES #endif #if defined(BUILD_AESGCM) || defined(HAVE_AESCCM) diff --git a/examples/echoclient/echoclient.c b/examples/echoclient/echoclient.c index 9f9ce0a85..7b482ce2c 100644 --- a/examples/echoclient/echoclient.c +++ b/examples/echoclient/echoclient.c @@ -85,8 +85,10 @@ void echoclient_test(void* args) ctx = SSL_CTX_new(method); #ifndef NO_FILESYSTEM + #ifndef NO_RSA if (SSL_CTX_load_verify_locations(ctx, caCert, 0) != SSL_SUCCESS) err_sys("can't load ca file, Please run from CyaSSL home dir"); + #endif #ifdef HAVE_ECC if (SSL_CTX_load_verify_locations(ctx, eccCert, 0) != SSL_SUCCESS) err_sys("can't load ca file, Please run from CyaSSL home dir"); diff --git a/src/internal.c b/src/internal.c index eb4596d87..923699b19 100644 --- a/src/internal.c +++ b/src/internal.c @@ -9109,6 +9109,9 @@ int SetCipherList(Suites* s, const char* list) byte hashAlgo = sha_mac; byte sigAlgo = anonymous_sa_algo; + (void)out; + (void)outLen; + #ifdef CYASSL_CALLBACKS if (ssl->hsInfoOn) AddPacketName("CertificateVerify", &ssl->handShakeInfo);