aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-17 13:56:05 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-17 13:56:05 +0000
commit98d4ced2b3d654cb06d2b68af1290979dfd424b9 (patch)
tree564da9554bc3e050ab5ef3684a0cdd402db61c15 /src/util
parent5c3082ad2c625ad3e676e37853df2d6a60d291ba (diff)
downloadgnunet-98d4ced2b3d654cb06d2b68af1290979dfd424b9.tar.gz
gnunet-98d4ced2b3d654cb06d2b68af1290979dfd424b9.zip
-use blocking wait as the pipe might be faster than the process cleanup
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto_rsa.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index a0a4007bc..0fb01678f 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -953,13 +953,6 @@ check_key_generation_completion (void *cls,
953 GNUNET_OS_process_wait (gc->gnunet_rsa)); 953 GNUNET_OS_process_wait (gc->gnunet_rsa));
954 GNUNET_OS_process_destroy (gc->gnunet_rsa); 954 GNUNET_OS_process_destroy (gc->gnunet_rsa);
955 gc->gnunet_rsa = NULL; 955 gc->gnunet_rsa = NULL;
956 if ( (GNUNET_OS_PROCESS_EXITED != type) ||
957 (0 != code) )
958 {
959 gc->cont (gc->cont_cls, NULL, _("gnunet-rsa failed"));
960 GNUNET_CRYPTO_rsa_key_create_stop (gc);
961 return;
962 }
963 if (NULL == (pk = try_read_key (gc->filename))) 956 if (NULL == (pk = try_read_key (gc->filename)))
964 { 957 {
965 GNUNET_break (0); 958 GNUNET_break (0);