tls.c: fix rebase error in TLSX_KeyShare_FreeAll().

This commit is contained in:
Daniel Pouzzner 2021-09-17 22:06:22 -05:00
parent 19b33d5a76
commit 083b97c5a3

View File

@ -6819,7 +6819,8 @@ static void TLSX_KeyShare_FreeAll(KeyShareEntry* list, void* heap)
while ((current = list) != NULL) {
list = current->next;
if ((current->group & NAMED_DH_MASK) == NAMED_DH_MASK) {
if (current->group >= MIN_FFHDE_GROUP &&
current->group <= MAX_FFHDE_GROUP) {
}
else if (current->group == WOLFSSL_ECC_X25519) {
#ifdef HAVE_CURVE25519