Implement a new custom extensions API
authorMatt Caswell <matt@openssl.org>
Wed, 5 Apr 2017 10:59:23 +0000 (11:59 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 7 Apr 2017 12:41:04 +0000 (13:41 +0100)
commit43ae5eed6f8665b88f45445df666ab2688aae7b0
tree33413025b37f6fb6f4d406591c9fbbb066702d1b
parentfe874d27d33faa527b5e945137787bf6b0f5c253
Implement a new custom extensions API

The old custom extensions API was not TLSv1.3 aware. Extensions are used
extensively in TLSv1.3 and they can appear in many different types of
messages. Therefore we need a new API to be able to cope with that.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3139)
include/openssl/ssl.h
ssl/ssl_cert.c
ssl/ssl_locl.h
ssl/ssl_rsa.c
ssl/statem/extensions.c
ssl/statem/extensions_clnt.c
ssl/statem/extensions_cust.c
ssl/statem/statem_locl.h
util/libssl.num