From de6ed96feb188ec1a6870fcaa0d10e9c1e340c11 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Wed, 8 Feb 2023 14:31:58 +0100 Subject: [PATCH] CopyExtensions -> CopySupportedGroup --- src/dtls.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/dtls.c b/src/dtls.c index 986869749..2edf40c4e 100644 --- a/src/dtls.c +++ b/src/dtls.c @@ -433,10 +433,8 @@ static int TlsCheckSupportedVersion(const WOLFSSL* ssl, return 0; } -static int CopyExtensions(TLSX* src, TLSX** dst, void* heap) +static int CopySupportedGroup(TLSX* src, TLSX** dst, void* heap) { - /* Copy the following extensions - * * SupportedCurves */ TLSX* extension; int ret; @@ -545,7 +543,7 @@ static int SendStatelessReplyDtls13(const WOLFSSL* ssl, WolfSSL_CH* ch, /* Set that this is a response extension */ parsedExts->resp = 1; - ret = CopyExtensions(ssl->extensions, &parsedExts, ssl->heap); + ret = CopySupportedGroup(ssl->extensions, &parsedExts, ssl->heap); if (ret != 0) goto dtls13_cleanup;