Change DTLS client cert request code to match TLS.
authordoug <doug@openbsd.org>
Thu, 18 Jun 2015 22:30:47 +0000 (22:30 +0000)
committerdoug <doug@openbsd.org>
Thu, 18 Jun 2015 22:30:47 +0000 (22:30 +0000)
commitba065f75ce522a82347c0e55adab232d6265d6ea
tree7ab837a902b42d9c767cf4bc543c0c3dcfbeb75c
parent8ce069ed46b5b0279fb7ef7e54d80c5a5b9176b9
Change DTLS client cert request code to match TLS.

DTLS currently doesn't check whether a client cert is expected.  This
change makes the logic in dtls1_accept() match that from ssl3_accept().
From OpenSSL commit c8d710dc5f83d69d802f941a4cc5895eb5fe3d65

input + ok jsing@ miod@
lib/libssl/d1_srvr.c
lib/libssl/src/ssl/d1_srvr.c