aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-10-29 05:37:16 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-10-29 05:37:16 +0000
commit31d4fe9d09bfa51464ffe64a00a44a30a2708b72 (patch)
treee042ae8473cc496cd83aca3150ca4db62d78551e
parentb5929b9300f01d1e14606aa2b858826ed3f605bb (diff)
downloads6-networking-31d4fe9d09bfa51464ffe64a00a44a30a2708b72.tar.gz
sbearssl_run: remove dead code
-rw-r--r--src/sbearssl/sbearssl_run.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/sbearssl/sbearssl_run.c b/src/sbearssl/sbearssl_run.c
index 9e98884..4bd4a8b 100644
--- a/src/sbearssl/sbearssl_run.c
+++ b/src/sbearssl/sbearssl_run.c
@@ -125,22 +125,6 @@ void sbearssl_run (br_ssl_engine_context *ctx, int *fd, tain const *tto, uint32_
}
state = br_ssl_engine_current_state(ctx) ;
}
- else if (x[y[1]].revents & IOPAUSE_EXCEPT)
- {
- fd_close(fd[1]) ;
- fd[1] = -1 ;
- if (fd[2] >= 0)
- {
- fd_shutdown(fd[2], 0) ;
- fd_close(fd[2]) ;
- fd[2] = -1 ;
- if (!br_ssl_engine_in_isempty(ctx))
- {
- br_ssl_engine_fail(ctx, BR_ERR_IO) ;
- state = br_ssl_engine_current_state(ctx) ;
- }
- }
- }
/* Flush to remote */
@@ -177,17 +161,6 @@ void sbearssl_run (br_ssl_engine_context *ctx, int *fd, tain const *tto, uint32_
}
state = br_ssl_engine_current_state(ctx) ;
}
- else if (x[y[3]].revents & IOPAUSE_EXCEPT)
- {
- fd_shutdown(fd[3], 1) ;
- fd_close(fd[3]) ;
- fd[3] = -1 ;
- if (fd[0] >= 0)
- {
- fd_close(fd[0]) ;
- fd[0] = -1 ;
- }
- }
/* Fill from local */