Add support for client side parsing of the PSK extension
authorMatt Caswell <matt@openssl.org>
Wed, 18 Jan 2017 09:38:53 +0000 (09:38 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 30 Jan 2017 10:18:20 +0000 (10:18 +0000)
commit4ff65f77b62df12ad75ec232b38627c5fe131041
treefee31f3b9d20107f97e153fbadaf9a9ae823a5ff
parentfc24f0bf45085c0f6272af8bb3ff03602face505
Add support for client side parsing of the PSK extension

Requires a refactor of the ServerHello parsing, so that we parse first and
then subsequently process. This is because the resumption information is
held in the extensions block which is parsed last - but we need to know that
information earlier.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2259)
include/openssl/ssl.h
ssl/ssl_err.c
ssl/statem/extensions.c
ssl/statem/extensions_clnt.c
ssl/statem/statem_clnt.c
ssl/statem/statem_locl.h