summaryrefslogtreecommitdiff
path: root/tests/mini-cert-status.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-08-29 16:03:16 +0300
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-08-29 16:03:16 +0300
commit2cf66dab46b52ed71faa5b6711e664326d218de2 (patch)
treeadb63afd71e7bc66ae4b569ee7874ee4917255fb /tests/mini-cert-status.c
parent99d848fd4f7ff160dc9828f0449cc7a57b24edc5 (diff)
downloadgnutls-2cf66dab46b52ed71faa5b6711e664326d218de2.tar.gz
removed unused function
Diffstat (limited to 'tests/mini-cert-status.c')
-rw-r--r--tests/mini-cert-status.c13
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;
}