From 81e30a126c1a7be76b87acab0b16933d2a5b4064 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 11 Feb 2013 23:04:43 +0000 Subject: -trying to address #2791 --- src/util/gnunet-ecc.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/util/gnunet-ecc.c') diff --git a/src/util/gnunet-ecc.c b/src/util/gnunet-ecc.c index d7f1dd58d..a00ef0573 100644 --- a/src/util/gnunet-ecc.c +++ b/src/util/gnunet-ecc.c @@ -44,11 +44,6 @@ static int print_peer_identity; */ static int print_short_identity; -/** - * Use weak random number generator for key generation. - */ -static int weak_random; - /** * Option set to create a bunch of keys at once. */ @@ -143,8 +138,6 @@ run (void *cls, char *const *args, const char *cfgfile, fprintf (stderr, _("No hostkey file specified on command line\n")); return; } - if (0 != weak_random) - GNUNET_CRYPTO_random_disable_entropy_gathering (); if (make_keys > 0) { create_keys (args[0]); @@ -208,9 +201,6 @@ main (int argc, char *const *argv) { 's', "print-short-identity", NULL, gettext_noop ("print the short hash of the public key in ASCII format"), 0, &GNUNET_GETOPT_set_one, &print_short_identity }, - { 'w', "weak-random", NULL, - gettext_noop ("use insecure, weak random number generator for key generation (for testing only)"), - 0, &GNUNET_GETOPT_set_one, &weak_random }, GNUNET_GETOPT_OPTION_END }; int ret; -- cgit v1.2.3