Merge pull request #306 from kaleb-himes/master

correct logic to allow for static RSA if ECC and no Curves
This commit is contained in:
toddouska 2016-02-10 16:47:17 -08:00
commit 09f631238e

View File

@ -769,7 +769,8 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
#endif
#if !defined(HAVE_ECC) && !defined(WOLFSSL_STATIC_RSA) \
|| ( defined(HAVE_ECC) && !defined(HAVE_SUPPORTED_CURVES) )
|| ( defined(HAVE_ECC) && !defined(HAVE_SUPPORTED_CURVES) \
&& !defined(WOLFSSL_STATIC_RSA) )
if (!XSTRNCMP(domain, "www.google.com", 14) ||
!XSTRNCMP(domain, "www.wolfssl.com", 15)) {
/* google/wolfssl need ECDHE or static RSA */