aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libtls/tls_server.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libtls/tls_server.c b/src/libtls/tls_server.c
index a85a00c4a..6615a37ed 100644
--- a/src/libtls/tls_server.c
+++ b/src/libtls/tls_server.c
@@ -984,11 +984,7 @@ METHOD(tls_handshake_t, build, status_t,
}
/* otherwise fall through to next state */
case STATE_KEY_EXCHANGE_SENT:
- if (this->peer)
- {
- return send_certificate_request(this, type, writer);
- }
- /* otherwise fall through to next state */
+ return send_certificate_request(this, type, writer);
case STATE_CERTREQ_SENT:
return send_hello_done(this, type, writer);
case STATE_CIPHERSPEC_CHANGED_OUT: