Updates to supported_groups following review feedback
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3395)
This commit is contained in:
parent
de65f7b93a
commit
12635aa09d
1 changed files with 1 additions and 2 deletions
|
@ -908,8 +908,7 @@ int tls_construct_stoc_supported_groups(SSL *s, WPACKET *pkt,
|
|||
|
||||
first = 0;
|
||||
}
|
||||
if (!WPACKET_put_bytes_u8(pkt, groups[0])
|
||||
|| !WPACKET_put_bytes_u8(pkt, groups[1])) {
|
||||
if (!WPACKET_put_bytes_u16(pkt, GET_GROUP_ID(groups, 0))) {
|
||||
SSLerr(SSL_F_TLS_CONSTRUCT_STOC_SUPPORTED_GROUPS,
|
||||
ERR_R_INTERNAL_ERROR);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue