diff --git a/src/internal.c b/src/internal.c index a125ee5bf8..95036bfafd 100644 --- a/src/internal.c +++ b/src/internal.c @@ -27562,8 +27562,8 @@ static int ParseCipherList(Suites* suites, #else 0, #endif - haveRSA, 1, 1, !haveRSA, 1, haveRSA, !haveRSA, 1, 1, 0, 0, 0, - 0, side + haveRSA, 1, 1, !haveRSA, 1, haveRSA, !haveRSA, 1, 1, 0, 0, 1, + 1, side ); return 1; /* wolfSSL default */ } diff --git a/src/ssl.c b/src/ssl.c index b1ee748b23..ea714f045d 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -1154,7 +1154,6 @@ WOLFSSL_CTX* wolfSSL_CTX_new_ex(WOLFSSL_METHOD* method, void* heap) } } } - #endif /* WOLFSSL_SYS_CRYPTO_POLICY */ WOLFSSL_LEAVE("wolfSSL_CTX_new_ex", 0);