]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
removed unused function
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 29 Aug 2013 13:03:16 +0000 (16:03 +0300)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 29 Aug 2013 13:03:16 +0000 (16:03 +0300)
tests/mini-cert-status.c

index 773ddb4504528b5daf5a7afe64cdbaca0254875a..3b58e7b2f7a71d96f678774805091fe1bde8b68b 100644 (file)
@@ -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;
 }