Use ciphersuite id when matching if we've got one
authorMatt Caswell <matt@openssl.org>
Wed, 2 Nov 2016 11:52:22 +0000 (11:52 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 2 Nov 2016 13:08:21 +0000 (13:08 +0000)
commit0ced42e050e602dc9d5fea36250ab8335f8ab156
treef7c5891e91758d2ce284eff12b4e8b231b1b3d5d
parent582a17d662d123eafbb70c9eaaa140a2559b7cdb
Use ciphersuite id when matching if we've got one

When matching a ciphersuite if we are given an id, make sure we use it
otherwise we will match another ciphersuite which is identical except for
the TLS version.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/ssl_ciph.c