diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-08-29 16:03:16 +0300 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-08-29 16:03:16 +0300 |
commit | 2cf66dab46b52ed71faa5b6711e664326d218de2 (patch) | |
tree | adb63afd71e7bc66ae4b569ee7874ee4917255fb /tests/mini-cert-status.c | |
parent | 99d848fd4f7ff160dc9828f0449cc7a57b24edc5 (diff) | |
download | gnutls-2cf66dab46b52ed71faa5b6711e664326d218de2.tar.gz |
removed unused function
Diffstat (limited to 'tests/mini-cert-status.c')
-rw-r--r-- | tests/mini-cert-status.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/mini-cert-status.c b/tests/mini-cert-status.c index 773ddb4504..3b58e7b2f7 100644 --- a/tests/mini-cert-status.c +++ b/tests/mini-cert-status.c @@ -49,8 +49,6 @@ int main() #include "utils.h" -static void terminate(void); - /* This program tests the robustness of record * decoding. */ @@ -192,12 +190,6 @@ client (int fd) /* These are global */ pid_t child; -static void terminate(void) -{ - kill(child, SIGTERM); - exit(1); -} - static void server (int fd, unsigned status, int expected) { @@ -315,11 +307,6 @@ int status = 0; { if (WIFSIGNALED(status)) fail("Child died with sigsegv\n"); -#if 0 - else - fail("Child died with status %d\n", WEXITSTATUS(status)); - terminate(); -#endif } return; } |