From a668953f7019647b806e59df4ea07c6029c4552f Mon Sep 17 00:00:00 2001 From: Stanislav Klima Date: Wed, 24 Aug 2022 20:35:56 +0200 Subject: [PATCH] cr fix --- src/internal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 2001cb9c7..86d531304 100644 --- a/src/internal.c +++ b/src/internal.c @@ -24092,6 +24092,7 @@ int SetCipherListFromBytes(WOLFSSL_CTX* ctx, Suites* suites, const byte* list, { int ret = 0; int idx = 0; + int i; int haveRSAsig = 0; int haveECDSAsig = 0; @@ -24105,7 +24106,7 @@ int SetCipherListFromBytes(WOLFSSL_CTX* ctx, Suites* suites, const byte* list, return 0; } - for (int i = 0; (i + 1) < listSz; i += 2) { + for (i = 0; (i + 1) < listSz; i += 2) { const byte firstByte = list[i]; const byte secondByte = list[i + 1]; const char* name = NULL;