From 22c31b813a465ec6a1e717ca9b475784e7f9fabe Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Fri, 26 Apr 2024 17:08:26 +0900 Subject: [PATCH] ommit comma at the end --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 4df487807..d27ee8612 100644 --- a/src/internal.c +++ b/src/internal.c @@ -9266,7 +9266,7 @@ int SendKexInit(WOLFSSH* ssh) kexAlgoNamesSz = AlgoListSz(ssh->algoListKex); encAlgoNamesSz = AlgoListSz(ssh->algoListCipher); if (!keyAlgoNames) { - keyAlgoNamesSz = (word32)WSTRLEN(ssh->algoListKey); + keyAlgoNamesSz = AlgoListSz(ssh->algoListKey); } else { keyAlgoNamesSz = AlgoListSz(keyAlgoNames);