From 46b34c19d004b6dffca3d84bc6582c7b432b0bb4 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Mon, 15 Feb 2016 13:30:11 -0700 Subject: [PATCH] wolfssl.com and google.com now differ in pre-reqs for external test --- examples/client/client.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/examples/client/client.c b/examples/client/client.c index 2bfdc541b..021e97958 100644 --- a/examples/client/client.c +++ b/examples/client/client.c @@ -771,11 +771,15 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args) #if !defined(HAVE_ECC) && !defined(WOLFSSL_STATIC_RSA) \ || ( 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 */ + /* google needs ECDHE+Supported Curves or static RSA */ + if (!XSTRNCMP(domain, "www.google.com", 14)) + done += 1; + #endif + + #if !defined(HAVE_ECC) && !defined(WOLFSSL_STATIC_RSA) + /* wolfssl needs ECDHE or static RSA */ + if (!XSTRNCMP(domain, "www.wolfssl.com", 15)) done += 1; - } #endif #if !defined(WOLFSSL_SHA384)