projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de65f7b
)
Updates to supported_groups following review feedback
author
Matt Caswell
<matt@openssl.org>
Mon, 8 May 2017 09:54:38 +0000
(10:54 +0100)
committer
Matt Caswell
<matt@openssl.org>
Mon, 8 May 2017 10:09:02 +0000
(11:09 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3395)
ssl/statem/extensions_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/statem/extensions_srvr.c
b/ssl/statem/extensions_srvr.c
index b12505c1f730e1731b753fc856050cfbdfd47068..22d2c4af2d52d037c797212c98e8f5ca834546d4 100644
(file)
--- a/
ssl/statem/extensions_srvr.c
+++ b/
ssl/statem/extensions_srvr.c
@@
-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;