diff options
Diffstat (limited to 'tests/send-data-before-handshake.c')
-rw-r--r-- | tests/send-data-before-handshake.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/send-data-before-handshake.c b/tests/send-data-before-handshake.c index 5c15dda0ca..b2ab6aa966 100644 --- a/tests/send-data-before-handshake.c +++ b/tests/send-data-before-handshake.c @@ -50,8 +50,6 @@ int main() #include "cert-common.h" #include "utils.h" -static void terminate(void); - /* This program tests that a client cannot send any unencrypted data * during the handshake process. That is to ensure we protect buggy clients * from transmitting sensitive data over the wire. @@ -180,13 +178,6 @@ static void client(int fd, const char *prio) /* These are global */ pid_t child; -static void terminate(void) -{ - assert(child); - kill(child, SIGTERM); - exit(1); -} - static void server(int fd, const char *prio) { int ret; |