-no need to be nice
authorChristian Grothoff <christian@grothoff.org>
Thu, 17 Jan 2013 11:09:19 +0000 (11:09 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 17 Jan 2013 11:09:19 +0000 (11:09 +0000)
src/util/crypto_random.c

index 29b25524dc84913b2b69057a18a52fd0e79d5398..b61d5961353b5d0f681fa95a4bce4b7b251fe3b7 100644 (file)
@@ -286,7 +286,7 @@ entropy_generator (void *cls, const char *what, int printchar, int current,
   {
     if (genproc != NULL)
     {
-      if (0 != GNUNET_OS_process_kill (genproc, SIGTERM))
+      if (0 != GNUNET_OS_process_kill (genproc, SIGKILL))
         LOG_STRERROR (GNUNET_ERROR_TYPE_ERROR, "kill");
       GNUNET_break (GNUNET_OK == GNUNET_OS_process_wait (genproc));
       GNUNET_OS_process_destroy (genproc);
@@ -304,7 +304,7 @@ entropy_generator (void *cls, const char *what, int printchar, int current,
       GNUNET_break (0);
       return;
     }
-    if (0 != GNUNET_OS_process_kill (genproc, SIGTERM))
+    if (0 != GNUNET_OS_process_kill (genproc, SIGKILL))
       LOG_STRERROR (GNUNET_ERROR_TYPE_ERROR, "kill");
     GNUNET_break (GNUNET_OK == GNUNET_OS_process_wait (genproc));
     GNUNET_OS_process_destroy (genproc);