mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 12:12:11 -04:00
Merge branch 'artem-tlsstream-followup-to-2846888c573fcc610cdf71bcdd5bb6f92ffaf499' into 'main'
TLS Stream: remove incorrect/obsolete INSIST()s from tls_do_bio() See merge request isc-projects/bind9!7751
This commit is contained in:
commit
f3579b1760
1 changed files with 4 additions and 9 deletions
|
|
@ -524,20 +524,15 @@ tls_do_bio(isc_nmsocket_t *sock, isc_region_t *received_data,
|
|||
hs_result != ISC_R_SUCCESS)
|
||||
{
|
||||
/*
|
||||
* The accept callback has been called
|
||||
* unsuccessfully. Let's try to shut
|
||||
* down the TLS connection gracefully.
|
||||
* The accept/connect callback has been
|
||||
* called unsuccessfully. Let's try to
|
||||
* shut down the TLS connection
|
||||
* gracefully.
|
||||
*/
|
||||
INSIST(SSL_is_init_finished(
|
||||
sock->tlsstream.tls) ==
|
||||
1);
|
||||
INSIST(!sock->client);
|
||||
finish = true;
|
||||
} else if (sock->tlsstream.state == TLS_IO &&
|
||||
hs_result == ISC_R_SUCCESS &&
|
||||
!sock->tlsstream.server)
|
||||
{
|
||||
INSIST(sock->client);
|
||||
}
|
||||
}
|
||||
} else if (send_data != NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue