Don't check curves that haven't been sent
authorMatt Caswell <matt@openssl.org>
Fri, 20 Mar 2015 15:10:16 +0000 (15:10 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 23 Mar 2015 14:06:17 +0000 (14:06 +0000)
commitbd891f098bdfcaa285c073ce556d0f5e27ec3a10
tree0354d547b383d65d7d42980810f13123b89b312b
parentc45dfdc68a4d84c5a7c2a346ea335052cb2755a1
Don't check curves that haven't been sent

Don't check that the curve appears in the list of acceptable curves for the
peer, if they didn't send us such a list (RFC 4492 does not require that the
extension be sent).

Reviewed-by: Emilia Käsper <emilia@openssl.org>
(cherry picked from commit b79d24101e3b5904b3770d60e32bdd6edc558337)
ssl/t1_lib.c