Store groups as uint16_t
authorDr. Stephen Henson <steve@openssl.org>
Fri, 22 Sep 2017 15:06:52 +0000 (16:06 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 22 Sep 2017 21:59:42 +0000 (22:59 +0100)
commit9e84a42db497e06a38f804b5acd09b6aa4f87db3
treef540bd69b0d412561f4d71639704f1117bd6fc46
parent6d50589c0434a78733d40d3a0fd7cb97eef1cb94
Store groups as uint16_t

Instead of storing supported groups in on-the-wire format store
them as parsed uint16_t values. This simplifies handling of groups
as the values can be directly used instead of being converted.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4406)
ssl/s3_lib.c
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/statem/extensions.c
ssl/statem/extensions_clnt.c
ssl/statem/extensions_srvr.c
ssl/statem/statem_lib.c
ssl/statem/statem_locl.h
ssl/t1_lib.c