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:
commit
09f631238e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user