if connection to google.com and using ECC need supported curves
This commit is contained in:
parent
62a2efdacc
commit
bf4d6454b1
@ -768,7 +768,8 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
||||
done += 1; /* external cert chain most likely has SHA */
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_ECC) && !defined(WOLFSSL_STATIC_RSA)
|
||||
#if !defined(HAVE_ECC) && !defined(WOLFSSL_STATIC_RSA) \
|
||||
|| ( defined(HAVE_ECC) && !defined(HAVE_SUPPORTED_CURVES) )
|
||||
if (!XSTRNCMP(domain, "www.google.com", 14) ||
|
||||
!XSTRNCMP(domain, "www.wolfssl.com", 15)) {
|
||||
/* google/wolfssl need ECDHE or static RSA */
|
||||
|
Loading…
Reference in New Issue
Block a user