Fix missing SSL_IS_TLS13(s) usage
authorMatt Caswell <matt@openssl.org>
Wed, 16 Nov 2016 10:22:38 +0000 (10:22 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 17 Nov 2016 11:03:16 +0000 (11:03 +0000)
commit657a43f6629cf5296a55731af5fd80f6602679cf
tree05761e143b8355a4da6bc47535e6a39e81507996
parent86ff6cc6b2f2718fadbdc2a2c7add51949bcd4a4
Fix missing SSL_IS_TLS13(s) usage

We should use the macro for testing if we are using TLSv1.3 rather than
checking s->version directly.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/record/ssl3_record.c
ssl/statem/statem_srvr.c