Tidy up certificate type handling.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 23 Feb 2017 22:12:28 +0000 (22:12 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 24 Feb 2017 01:23:38 +0000 (01:23 +0000)
commit75c13e7830653eee4b61dd96ceea7c446c381316
tree8a1286af7062eab979806846bddf3dfb2dd07e9e
parent8fce04ee3540ba3039bb66df34ea3f076a599ab9
Tidy up certificate type handling.

The certificate types used to be held in a fixed length array or (if
it was too long) a malloced buffer. This was done to retain binary
compatibility. The code can be simplified now SSL is opaque by always
using a malloced buffer.

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