forked from wolfSSL/wolfssl
correct logic to allow for static RSA if ECC and no Curves
use same coding standards as the rest of the libraries
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user