diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2015-03-18 19:02:50 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2015-03-23 21:08:20 +0100 |
commit | 24a0d3933d24059942a3cf99695d486c8fadd576 (patch) | |
tree | 657755901b3f87302215f2b714c2a9bb30c9e20b /ssl/s3_srvr.c | |
parent | 06e6aa47de1b4da912069eef2e3458952ac79335 (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/s3_srvr.c')
-rw-r--r-- | ssl/s3_srvr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index ccccd54102..0efe3ddc6d 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -231,10 +231,6 @@ int ssl3_accept(SSL *s) return -1; } - if (s->cert == NULL) { - SSLerr(SSL_F_SSL3_ACCEPT, SSL_R_NO_CERTIFICATE_SET); - return (-1); - } #ifndef OPENSSL_NO_HEARTBEATS /* * If we're awaiting a HeartbeatResponse, pretend we already got and |