Ensure certificate callbacks work correctly in TLSv1.3
authorMatt Caswell <matt@openssl.org>
Thu, 6 Sep 2018 14:53:25 +0000 (15:53 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 7 Sep 2018 10:20:37 +0000 (11:20 +0100)
commitcd3b53b8f85ad66336936073d822b3315e0ddd4f
treeae66ead21b98b4c7d16d12cafdff469704d7d9dd
parent77890553760c6e675fee6d254cbdea2712eeb1e1
Ensure certificate callbacks work correctly in TLSv1.3

The is_tls13_capable() function should not return 0 if no certificates
are configured directly because a certificate callback is present.

Fixes #7140

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7141)
ssl/statem/statem_lib.c