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 15:46:42 +0000 (15:46 +0000)
commitbe3fb8d15dd5a233eab0c454677d538e64d17f82
treeda1cb8410e79c0710d6787f52688e7f0b8b53a43
parentfb73f12a9cfc377e3046228cc69351a40716c396
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