From 98d4ced2b3d654cb06d2b68af1290979dfd424b9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 17 Sep 2012 13:56:05 +0000 Subject: [PATCH] -use blocking wait as the pipe might be faster than the process cleanup --- src/util/crypto_rsa.c | 7 ------- 1 file changed, 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, GNUNET_OS_process_wait (gc->gnunet_rsa)); GNUNET_OS_process_destroy (gc->gnunet_rsa); gc->gnunet_rsa = NULL; - if ( (GNUNET_OS_PROCESS_EXITED != type) || - (0 != code) ) - { - gc->cont (gc->cont_cls, NULL, _("gnunet-rsa failed")); - GNUNET_CRYPTO_rsa_key_create_stop (gc); - return; - } if (NULL == (pk = try_read_key (gc->filename))) { GNUNET_break (0); -- 2.25.1