diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/util/crypto_random.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/util/crypto_random.c')
-rw-r--r-- | src/util/crypto_random.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/crypto_random.c b/src/util/crypto_random.c index e3388faad..e66c3c71b 100644 --- a/src/util/crypto_random.c +++ b/src/util/crypto_random.c | |||
@@ -279,7 +279,7 @@ entropy_generator (void *cls, const char *what, int printchar, int current, | |||
279 | LOG (GNUNET_ERROR_TYPE_INFO, _("Starting `%s' process to generate entropy\n"), | 279 | LOG (GNUNET_ERROR_TYPE_INFO, _("Starting `%s' process to generate entropy\n"), |
280 | "find"); | 280 | "find"); |
281 | genproc = | 281 | genproc = |
282 | GNUNET_OS_start_process (GNUNET_NO, 0, | 282 | GNUNET_OS_start_process (GNUNET_NO, 0, |
283 | NULL, NULL, "sh", "sh", "-c", | 283 | NULL, NULL, "sh", "sh", "-c", |
284 | "exec find / -mount -type f -exec cp {} /dev/null \\; 2>/dev/null", | 284 | "exec find / -mount -type f -exec cp {} /dev/null \\; 2>/dev/null", |
285 | NULL); | 285 | NULL); |
@@ -298,7 +298,7 @@ killfind () | |||
298 | } | 298 | } |
299 | 299 | ||
300 | 300 | ||
301 | void __attribute__ ((constructor)) | 301 | void __attribute__ ((constructor)) |
302 | GNUNET_CRYPTO_random_init () | 302 | GNUNET_CRYPTO_random_init () |
303 | { | 303 | { |
304 | gcry_error_t rc; | 304 | gcry_error_t rc; |
@@ -319,7 +319,7 @@ GNUNET_CRYPTO_random_init () | |||
319 | if ((rc = gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0))) | 319 | if ((rc = gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0))) |
320 | FPRINTF (stderr, "Failed to set libgcrypt option %s: %s\n", "ENABLE_QUICK_RANDOM", | 320 | FPRINTF (stderr, "Failed to set libgcrypt option %s: %s\n", "ENABLE_QUICK_RANDOM", |
321 | gcry_strerror (rc)); | 321 | gcry_strerror (rc)); |
322 | 322 | ||
323 | #ifdef GCRYCTL_INITIALIZATION_FINISHED | 323 | #ifdef GCRYCTL_INITIALIZATION_FINISHED |
324 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); | 324 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); |
325 | #endif | 325 | #endif |
@@ -334,7 +334,7 @@ GNUNET_CRYPTO_random_init () | |||
334 | } | 334 | } |
335 | 335 | ||
336 | 336 | ||
337 | void __attribute__ ((destructor)) | 337 | void __attribute__ ((destructor)) |
338 | GNUNET_CRYPTO_random_fini () | 338 | GNUNET_CRYPTO_random_fini () |
339 | { | 339 | { |
340 | gcry_set_progress_handler (NULL, NULL); | 340 | gcry_set_progress_handler (NULL, NULL); |