Check for xrdp being terminated during SSL_accept BIO loop

This commit is contained in:
matt335672
2025-05-22 18:03:00 +01:00
parent 322b6c2642
commit 41d4eb5558
4 changed files with 12 additions and 3 deletions
+2 -1
View File
@@ -1053,7 +1053,8 @@ trans_set_tls_mode(struct trans *self, const char *key, const char *cert,
return 1;
}
if (ssl_tls_accept(self->tls, ssl_protocols, tls_ciphers) != 0)
if (ssl_tls_accept(self->tls, ssl_protocols,
tls_ciphers, self->is_term) != 0)
{
LOG(LOG_LEVEL_ERROR, "trans_set_tls_mode: ssl_tls_accept failed");
return 1;