Remove impossible condition.
ssl->cert is never NULL. It gets created in SSL_new unconditionally. Change-Id: I5c54c9c73e281e61a554820d61421226d763d33a Reviewed-on: https://boringssl-review.googlesource.com/8125 Reviewed-by: Steven Valdez <svaldez@google.com> Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
parent
83042a8292
commit
e90d004e00
@ -192,11 +192,6 @@ int ssl3_accept(SSL *ssl) {
|
|||||||
cb = ssl->ctx->info_callback;
|
cb = ssl->ctx->info_callback;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ssl->cert == NULL) {
|
|
||||||
OPENSSL_PUT_ERROR(SSL, SSL_R_NO_CERTIFICATE_SET);
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
state = ssl->state;
|
state = ssl->state;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user