From ffe7b38409eaa5b15d72c13ba54bdb7fbc013b8b Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Wed, 10 Feb 2016 13:28:31 -0700 Subject: [PATCH] correct logic to allow for static RSA if ECC and no Curves use same coding standards as the rest of the libraries --- examples/client/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/client/client.c b/examples/client/client.c index b79adf2b7..2bfdc541b 100644 --- a/examples/client/client.c +++ b/examples/client/client.c @@ -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 */