aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_ecc.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-02-11 23:04:43 +0000
committerChristian Grothoff <christian@grothoff.org>2013-02-11 23:04:43 +0000
commit81e30a126c1a7be76b87acab0b16933d2a5b4064 (patch)
tree0ef72d3c402f557bff35cce46fff40320e1096c7 /src/util/crypto_ecc.c
parentaab5ab384bc5d5fbd2dab0ecc640b07db0710be7 (diff)
downloadgnunet-81e30a126c1a7be76b87acab0b16933d2a5b4064.tar.gz
gnunet-81e30a126c1a7be76b87acab0b16933d2a5b4064.zip
-trying to address #2791
Diffstat (limited to 'src/util/crypto_ecc.c')
-rw-r--r--src/util/crypto_ecc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c
index 97ba2a3b6..2e4ba6a9d 100644
--- a/src/util/crypto_ecc.c
+++ b/src/util/crypto_ecc.c
@@ -831,7 +831,6 @@ GNUNET_CRYPTO_ecc_key_create_start (const char *filename,
831{ 831{
832 struct GNUNET_CRYPTO_EccKeyGenerationContext *gc; 832 struct GNUNET_CRYPTO_EccKeyGenerationContext *gc;
833 struct GNUNET_CRYPTO_EccPrivateKey *pk; 833 struct GNUNET_CRYPTO_EccPrivateKey *pk;
834 const char *weak_random;
835 834
836 if (NULL != (pk = try_read_key (filename))) 835 if (NULL != (pk = try_read_key (filename)))
837 { 836 {
@@ -859,10 +858,6 @@ GNUNET_CRYPTO_ecc_key_create_start (const char *filename,
859 GNUNET_free (gc); 858 GNUNET_free (gc);
860 return NULL; 859 return NULL;
861 } 860 }
862 weak_random = NULL;
863 if (GNUNET_YES ==
864 GNUNET_CRYPTO_random_is_weak ())
865 weak_random = "-w";
866 gc->gnunet_ecc = GNUNET_OS_start_process (GNUNET_NO, 861 gc->gnunet_ecc = GNUNET_OS_start_process (GNUNET_NO,
867 GNUNET_OS_INHERIT_STD_ERR, 862 GNUNET_OS_INHERIT_STD_ERR,
868 NULL, 863 NULL,
@@ -870,7 +865,6 @@ GNUNET_CRYPTO_ecc_key_create_start (const char *filename,
870 "gnunet-ecc", 865 "gnunet-ecc",
871 "gnunet-ecc", 866 "gnunet-ecc",
872 gc->filename, 867 gc->filename,
873 weak_random,
874 NULL); 868 NULL);
875 if (NULL == gc->gnunet_ecc) 869 if (NULL == gc->gnunet_ecc)
876 { 870 {