Properly detect duplicate CKS extensions.
This commit is contained in:
@@ -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
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user