Convert Sigalgs processing to use ints
authorMatt Caswell <matt@openssl.org>
Wed, 14 Dec 2016 14:31:21 +0000 (14:31 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 10 Jan 2017 23:02:50 +0000 (23:02 +0000)
commit703bcee021790d33e07809c9b07fd51d2b4b5474
tree329bdc88314a202c2d53896b5e1901e15de2b3f2
parent5f9b64a2fdfd0ccf04d58c8b04d576f13950d63f
Convert Sigalgs processing to use ints

In TLSv1.2 an individual sig alg is represented by 1 byte for the hash
and 1 byte for the signature. In TLSv1.3 each sig alg is represented by
two bytes, where the two bytes together represent a single hash and
signature combination. This converts the internal representation of sigalgs
to use a single int for the pair, rather than a pair of bytes.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2157)
ssl/ssl_cert.c
ssl/ssl_locl.h
ssl/statem/extensions_clnt.c
ssl/statem/extensions_srvr.c
ssl/statem/statem_clnt.c
ssl/statem/statem_lib.c
ssl/statem/statem_srvr.c
ssl/t1_lib.c