diff options
-rw-r--r-- | src/sbearssl/sbearssl_run.c | 6 | ||||
-rw-r--r-- | src/stls/stls_run.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/src/sbearssl/sbearssl_run.c b/src/sbearssl/sbearssl_run.c index dd2f49b..26a8bd3 100644 --- a/src/sbearssl/sbearssl_run.c +++ b/src/sbearssl/sbearssl_run.c @@ -112,11 +112,7 @@ 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 (e >= 0) break ; - } + if (x[0].revents & IOPAUSE_READ) handle_signals(pid, &e) ; /* Flush to local */ diff --git a/src/stls/stls_run.c b/src/stls/stls_run.c index b6e1bf3..3f2742d 100644 --- a/src/stls/stls_run.c +++ b/src/stls/stls_run.c @@ -214,11 +214,7 @@ int stls_run (struct tls *ctx, int *fds, pid_t pid, unsigned int verbosity, uint /* Signal */ - if (x[0].revents & IOPAUSE_READ) - { - handle_signals(pid, &e) ; - if (e >= 0) break ; - } + if (x[0].revents & IOPAUSE_READ) handle_signals(pid, &e) ; /* Flush to local */ |