aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_rsa.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_rsa.c
parentaab5ab384bc5d5fbd2dab0ecc640b07db0710be7 (diff)
downloadgnunet-81e30a126c1a7be76b87acab0b16933d2a5b4064.tar.gz
gnunet-81e30a126c1a7be76b87acab0b16933d2a5b4064.zip
-trying to address #2791
Diffstat (limited to 'src/util/crypto_rsa.c')
-rw-r--r--src/util/crypto_rsa.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index cd9a33f61..6857a1221 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -998,7 +998,6 @@ GNUNET_CRYPTO_rsa_key_create_start (const char *filename,
998{ 998{
999 struct GNUNET_CRYPTO_RsaKeyGenerationContext *gc; 999 struct GNUNET_CRYPTO_RsaKeyGenerationContext *gc;
1000 struct GNUNET_CRYPTO_RsaPrivateKey *pk; 1000 struct GNUNET_CRYPTO_RsaPrivateKey *pk;
1001 const char *weak_random;
1002 1001
1003 if (NULL != (pk = try_read_key (filename))) 1002 if (NULL != (pk = try_read_key (filename)))
1004 { 1003 {
@@ -1026,10 +1025,6 @@ GNUNET_CRYPTO_rsa_key_create_start (const char *filename,
1026 GNUNET_free (gc); 1025 GNUNET_free (gc);
1027 return NULL; 1026 return NULL;
1028 } 1027 }
1029 weak_random = NULL;
1030 if (GNUNET_YES ==
1031 GNUNET_CRYPTO_random_is_weak ())
1032 weak_random = "-w";
1033 gc->gnunet_rsa = GNUNET_OS_start_process (GNUNET_NO, 1028 gc->gnunet_rsa = GNUNET_OS_start_process (GNUNET_NO,
1034 GNUNET_OS_INHERIT_STD_ERR, 1029 GNUNET_OS_INHERIT_STD_ERR,
1035 NULL, 1030 NULL,
@@ -1037,7 +1032,6 @@ GNUNET_CRYPTO_rsa_key_create_start (const char *filename,
1037 "gnunet-rsa", 1032 "gnunet-rsa",
1038 "gnunet-rsa", 1033 "gnunet-rsa",
1039 gc->filename, 1034 gc->filename,
1040 weak_random,
1041 NULL); 1035 NULL);
1042 if (NULL == gc->gnunet_rsa) 1036 if (NULL == gc->gnunet_rsa)
1043 { 1037 {