Make sure that cert is never NULL
Also removes for it being NULL Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user