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/revocation/gnunet-revocation.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/revocation/gnunet-revocation.c')
-rw-r--r-- | src/revocation/gnunet-revocation.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/revocation/gnunet-revocation.c b/src/revocation/gnunet-revocation.c index 10259fc99..1859722d8 100644 --- a/src/revocation/gnunet-revocation.c +++ b/src/revocation/gnunet-revocation.c | |||
@@ -61,7 +61,7 @@ static struct GNUNET_REVOCATION_Query *q; | |||
61 | 61 | ||
62 | /** | 62 | /** |
63 | * Handle for revocation. | 63 | * Handle for revocation. |
64 | */ | 64 | */ |
65 | static struct GNUNET_REVOCATION_Handle *h; | 65 | static struct GNUNET_REVOCATION_Handle *h; |
66 | 66 | ||
67 | /** | 67 | /** |
@@ -71,12 +71,12 @@ static struct GNUNET_IDENTITY_EgoLookup *el; | |||
71 | 71 | ||
72 | /** | 72 | /** |
73 | * Our configuration. | 73 | * Our configuration. |
74 | */ | 74 | */ |
75 | static const struct GNUNET_CONFIGURATION_Handle *cfg; | 75 | static const struct GNUNET_CONFIGURATION_Handle *cfg; |
76 | 76 | ||
77 | /** | 77 | /** |
78 | * Number of matching bits required for revocation. | 78 | * Number of matching bits required for revocation. |
79 | */ | 79 | */ |
80 | static unsigned long long matching_bits; | 80 | static unsigned long long matching_bits; |
81 | 81 | ||
82 | 82 | ||
@@ -178,7 +178,7 @@ print_revocation_result (void *cls, | |||
178 | /** | 178 | /** |
179 | * Data needed to perform a revocation. | 179 | * Data needed to perform a revocation. |
180 | */ | 180 | */ |
181 | struct RevocationData | 181 | struct RevocationData |
182 | { | 182 | { |
183 | /** | 183 | /** |
184 | * Public key. | 184 | * Public key. |
@@ -226,7 +226,7 @@ calculate_pow (void *cls, | |||
226 | 226 | ||
227 | if ( (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason)) || | 227 | if ( (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason)) || |
228 | (0 == (rd->pow % 128) ) ) | 228 | (0 == (rd->pow % 128) ) ) |
229 | { | 229 | { |
230 | if (0 == (rd->pow % 128 * 1024)) | 230 | if (0 == (rd->pow % 128 * 1024)) |
231 | { | 231 | { |
232 | if (0 == (rd->pow % (1024 * 128 * 80))) | 232 | if (0 == (rd->pow % (1024 * 128 * 80))) |
@@ -308,7 +308,7 @@ ego_callback (void *cls, | |||
308 | &key); | 308 | &key); |
309 | rd = GNUNET_new (struct RevocationData); | 309 | rd = GNUNET_new (struct RevocationData); |
310 | if ( (NULL != filename) && | 310 | if ( (NULL != filename) && |
311 | (GNUNET_YES == | 311 | (GNUNET_YES == |
312 | GNUNET_DISK_file_test (filename)) && | 312 | GNUNET_DISK_file_test (filename)) && |
313 | (sizeof (struct RevocationData) == | 313 | (sizeof (struct RevocationData) == |
314 | GNUNET_DISK_fn_read (filename, | 314 | GNUNET_DISK_fn_read (filename, |
@@ -325,10 +325,10 @@ ego_callback (void *cls, | |||
325 | revoke_ego); | 325 | revoke_ego); |
326 | GNUNET_free (rd); | 326 | GNUNET_free (rd); |
327 | return; | 327 | return; |
328 | } | 328 | } |
329 | } | 329 | } |
330 | else | 330 | else |
331 | { | 331 | { |
332 | GNUNET_REVOCATION_sign_revocation (GNUNET_IDENTITY_ego_get_private_key (ego), | 332 | GNUNET_REVOCATION_sign_revocation (GNUNET_IDENTITY_ego_get_private_key (ego), |
333 | &rd->sig); | 333 | &rd->sig); |
334 | rd->key = key; | 334 | rd->key = key; |
@@ -362,8 +362,8 @@ ego_callback (void *cls, | |||
362 | * @param c configuration | 362 | * @param c configuration |
363 | */ | 363 | */ |
364 | static void | 364 | static void |
365 | run (void *cls, | 365 | run (void *cls, |
366 | char *const *args, | 366 | char *const *args, |
367 | const char *cfgfile, | 367 | const char *cfgfile, |
368 | const struct GNUNET_CONFIGURATION_Handle *c) | 368 | const struct GNUNET_CONFIGURATION_Handle *c) |
369 | { | 369 | { |