Improve layout of the code for debugging with breakpoints

Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
Ben Taylor 2026-05-29 14:48:44 +01:00
parent ceaa75b899
commit e8f3c920ed

View File

@ -76,10 +76,19 @@ static void tls_abort_transcript(void *ctx, int level,
(void) file;
(void) line;
if (abort_ctx->triggered || abort_ctx->ssl == NULL ||
abort_ctx->ssl->handshake == NULL ||
abort_ctx->trigger == NULL ||
strstr(str, abort_ctx->trigger) == NULL) {
if (abort_ctx->triggered){
return;
}
if (abort_ctx->ssl == NULL) {
return;
}
if (abort_ctx->ssl->handshake == NULL) {
return;
}
if (abort_ctx->trigger == NULL) {
return;
}
if (strstr(str, abort_ctx->trigger) == NULL) {
return;
}