Disallow SupportedGroups in ServerHello for TLS 1.3
But allowed when downgrading to TLS 1.2.
This commit is contained in:
parent
c080050c80
commit
b7179c2a54
@ -9654,6 +9654,11 @@ int TLSX_Parse(WOLFSSL* ssl, byte* input, word16 length, byte msgType,
|
||||
msgType == encrypted_extensions) {
|
||||
return EXT_NOT_ALLOWED;
|
||||
}
|
||||
else if (IsAtLeastTLSv1_3(ssl->ctx->method->version) &&
|
||||
msgType == server_hello &&
|
||||
!ssl->options.downgrade) {
|
||||
return EXT_NOT_ALLOWED;
|
||||
}
|
||||
#endif
|
||||
ret = EC_PARSE(ssl, input + offset, size, isRequest);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user