From 9256d6aa7ce503fbaf9e67b0f068af93c37471ee Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Wed, 27 Jul 2022 13:26:53 -0500 Subject: [PATCH] src/internal.c: fixes for redundant assignments and preprocessor typo. --- src/internal.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/internal.c b/src/internal.c index 7b28e0037..088161390 100644 --- a/src/internal.c +++ b/src/internal.c @@ -18124,7 +18124,7 @@ int ProcessReplyEx(WOLFSSL* ssl, int allowSocketErr) if(IsAtLeastTLSv1_3(ssl->version)) { #ifdef WOLFSSL_DTLS13 ret = Dtls13ProcessBufferedMessages(ssl); -#elif +#else ret = NOT_COMPILED_IN; #endif /* WOLFSSL_DTLS13 */ } @@ -23272,7 +23272,6 @@ int SetCipherList(WOLFSSL_CTX* ctx, Suites* suites, const char* list) haveStaticECC = 1; haveStaticRSA = 1; haveRSAsig = 1; - haveECDSAsig = 1; havePSK = 1; haveNull = 0; @@ -23296,7 +23295,6 @@ int SetCipherList(WOLFSSL_CTX* ctx, Suites* suites, const char* list) haveStaticECC = 0; haveStaticRSA = 0; haveRSAsig = 1; - haveECDSAsig = 1; havePSK = 1; haveNull = 0;