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:03:39 +0000 (14:03 +0000)
commitb79d24101e3b5904b3770d60e32bdd6edc558337
tree04627a2d316c46ffdd8f883d6f78fc156935d9ba
parent4fe67498b0d1c0052fabcc46d6de07d7900aa850
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>
ssl/t1_lib.c