Add extra validation parsing the server-to-client early_data extension
authorMatt Caswell <matt@openssl.org>
Fri, 24 Feb 2017 10:29:20 +0000 (10:29 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 2 Mar 2017 17:44:15 +0000 (17:44 +0000)
commit538bea6c8184670a8d1608ef288a4e1813dcefa6
treea30fc283c59836aed3f3fabb35d318fe96ba69ff
parent329114f91f1a560bcf25ff2ebf5d608079e82272
Add extra validation parsing the server-to-client early_data extension

Check that we actually resumed the session, and that we selected the first
identity.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2737)
ssl/statem/extensions_clnt.c