summaryrefslogtreecommitdiffstats
path: root/ssl/d1_srvr.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2015-03-18 19:02:50 +0100
committerKurt Roeckx <kurt@roeckx.be>2015-03-23 21:08:20 +0100
commit24a0d3933d24059942a3cf99695d486c8fadd576 (patch)
tree657755901b3f87302215f2b714c2a9bb30c9e20b /ssl/d1_srvr.c
parent06e6aa47de1b4da912069eef2e3458952ac79335 (diff)
Make sure that cert is never NULL
Also removes for it being NULL Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r--ssl/d1_srvr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c
index 24361ae5df..b89c369768 100644
--- a/ssl/d1_srvr.c
+++ b/ssl/d1_srvr.c
@@ -199,10 +199,6 @@ int dtls1_accept(SSL *s)
s->in_handshake, NULL);
#endif
- if (s->cert == NULL) {
- SSLerr(SSL_F_DTLS1_ACCEPT, SSL_R_NO_CERTIFICATE_SET);
- return (-1);
- }
#ifndef OPENSSL_NO_HEARTBEATS
/*
* If we're awaiting a HeartbeatResponse, pretend we already got and