NO_RSA with ecc build fixes

This commit is contained in:
toddouska
2013-03-07 18:10:18 -08:00
parent 85b3346bbf
commit 6b3a80366f
3 changed files with 8 additions and 0 deletions

View File

@ -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)

View File

@ -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");

View File

@ -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);