Properly detect duplicate CKS extensions.

This commit is contained in:
Anthony Hu
2025-08-25 12:01:29 -04:00
parent ffbcd4f86c
commit 2885df68b4

View File

@@ -16129,6 +16129,9 @@ int TLSX_Parse(WOLFSSL* ssl, const byte* input, word16 length, byte msgType,
if ((type <= 62) || (type == TLSX_RENEGOTIATION_INFO)
#ifdef WOLFSSL_QUIC
|| (type == TLSX_KEY_QUIC_TP_PARAMS_DRAFT)
#endif
#ifdef WOLFSSL_DUAL_ALG_CERTS
|| (type == TLSX_CKS)
#endif
)
{