summaryrefslogtreecommitdiff
path: root/src/sbearssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbearssl')
-rw-r--r--src/sbearssl/sbearssl_run.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sbearssl/sbearssl_run.c b/src/sbearssl/sbearssl_run.c
index 26a8bd3..177a252 100644
--- a/src/sbearssl/sbearssl_run.c
+++ b/src/sbearssl/sbearssl_run.c
@@ -112,7 +112,11 @@ int sbearssl_run (br_ssl_engine_context *ctx, int *fds, pid_t pid, unsigned int
/* Signal */
- if (x[0].revents & IOPAUSE_READ) handle_signals(pid, &e) ;
+ if (x[0].revents & IOPAUSE_READ)
+ {
+ handle_signals(pid, &e) ;
+ if (e >= 0 && xindex[0] == 5 && xindex[3] == 5) break ;
+ }
/* Flush to local */