Unauthenticated DH client certificate fix.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 23 Oct 2014 19:36:17 +0000 (20:36 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Jan 2015 13:43:20 +0000 (13:43 +0000)
commit98a0f9660d374f58f79ee0efcc8c1672a805e8e8
tree038ee943bdb594f113b2892283f963595227dc89
parent45fe66b8ba026186aa5d8ef1e0e6010ea74d5c0b
Unauthenticated DH client certificate fix.

Fix to prevent use of DH client certificates without sending
certificate verify message.

If we've used a client certificate to generate the premaster secret
ssl3_get_client_key_exchange returns 2 and ssl3_get_cert_verify is
never called.

We can only skip the certificate verify message in
ssl3_get_cert_verify if the client didn't send a certificate.

Thanks to Karthikeyan Bhargavan for reporting this issue.
CVE-2015-0205
Reviewed-by: Matt Caswell <matt@openssl.org>
ssl/s3_srvr.c