diff options
Diffstat (limited to 'src/escrow/plugin_escrow_gns.c')
-rw-r--r-- | src/escrow/plugin_escrow_gns.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/escrow/plugin_escrow_gns.c b/src/escrow/plugin_escrow_gns.c index bd96d2315..cf12602ca 100644 --- a/src/escrow/plugin_escrow_gns.c +++ b/src/escrow/plugin_escrow_gns.c | |||
@@ -355,14 +355,14 @@ static struct GNUNET_IDENTITY_Handle *identity_handle; | |||
355 | /** | 355 | /** |
356 | * Handle for the plugin instance | 356 | * Handle for the plugin instance |
357 | */ | 357 | */ |
358 | struct ESCROW_PluginHandle ph; | 358 | static struct ESCROW_PluginHandle ph; |
359 | 359 | ||
360 | 360 | ||
361 | /** | 361 | /** |
362 | * Clean up a plugin operation, i.e. remove it from the list and | 362 | * Clean up a plugin operation, i.e. remove it from the list and |
363 | * free the respective memory | 363 | * free the respective memory |
364 | */ | 364 | */ |
365 | void | 365 | static void |
366 | cleanup_plugin_operation (struct ESCROW_PluginOperationWrapper *plugin_op_wrap) | 366 | cleanup_plugin_operation (struct ESCROW_PluginOperationWrapper *plugin_op_wrap) |
367 | { | 367 | { |
368 | struct ESCROW_GnsPluginOperation *p_op; | 368 | struct ESCROW_GnsPluginOperation *p_op; |
@@ -459,7 +459,7 @@ cleanup_plugin_operation (struct ESCROW_PluginOperationWrapper *plugin_op_wrap) | |||
459 | } | 459 | } |
460 | 460 | ||
461 | 461 | ||
462 | void | 462 | static void |
463 | start_cont (void *cls) | 463 | start_cont (void *cls) |
464 | { | 464 | { |
465 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap = cls; | 465 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap = cls; |
@@ -472,7 +472,7 @@ start_cont (void *cls) | |||
472 | } | 472 | } |
473 | 473 | ||
474 | 474 | ||
475 | void | 475 | static void |
476 | verify_cont (void *cls) | 476 | verify_cont (void *cls) |
477 | { | 477 | { |
478 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap = cls; | 478 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap = cls; |
@@ -1109,7 +1109,7 @@ start_gns_key_escrow (struct GNUNET_ESCROW_Handle *h, | |||
1109 | 1109 | ||
1110 | 1110 | ||
1111 | static uint8_t | 1111 | static uint8_t |
1112 | count_keyshares (sss_Keyshare *keyshares, uint8_t n) | 1112 | count_keyshares (const sss_Keyshare *keyshares, uint8_t n) |
1113 | { | 1113 | { |
1114 | uint8_t i, c; | 1114 | uint8_t i, c; |
1115 | sss_Keyshare null_ks; | 1115 | sss_Keyshare null_ks; |
@@ -1313,7 +1313,7 @@ get_user_secret_from_anchor (const struct GNUNET_ESCROW_Anchor *anchor) | |||
1313 | 1313 | ||
1314 | static void | 1314 | static void |
1315 | restore_private_key (struct ESCROW_PluginOperationWrapper *plugin_op_wrap, | 1315 | restore_private_key (struct ESCROW_PluginOperationWrapper *plugin_op_wrap, |
1316 | struct GNUNET_ESCROW_Anchor *anchor, | 1316 | const struct GNUNET_ESCROW_Anchor *anchor, |
1317 | PkContinuation cont, | 1317 | PkContinuation cont, |
1318 | void *cont_cls) | 1318 | void *cont_cls) |
1319 | { | 1319 | { |
@@ -1423,7 +1423,7 @@ verify_restored_pk (void *cls, | |||
1423 | struct ESCROW_PluginOperationWrapper * | 1423 | struct ESCROW_PluginOperationWrapper * |
1424 | verify_gns_key_escrow (struct GNUNET_ESCROW_Handle *h, | 1424 | verify_gns_key_escrow (struct GNUNET_ESCROW_Handle *h, |
1425 | struct GNUNET_IDENTITY_Ego *ego, | 1425 | struct GNUNET_IDENTITY_Ego *ego, |
1426 | struct GNUNET_ESCROW_Anchor *anchor, | 1426 | const struct GNUNET_ESCROW_Anchor *anchor, |
1427 | GNUNET_SCHEDULER_TaskCallback cb, | 1427 | GNUNET_SCHEDULER_TaskCallback cb, |
1428 | uint32_t op_id) | 1428 | uint32_t op_id) |
1429 | { | 1429 | { |
@@ -1577,7 +1577,7 @@ restore_ego_from_pk (void *cls, | |||
1577 | */ | 1577 | */ |
1578 | struct ESCROW_PluginOperationWrapper * | 1578 | struct ESCROW_PluginOperationWrapper * |
1579 | restore_gns_key_escrow (struct GNUNET_ESCROW_Handle *h, | 1579 | restore_gns_key_escrow (struct GNUNET_ESCROW_Handle *h, |
1580 | struct GNUNET_ESCROW_Anchor *anchor, | 1580 | const struct GNUNET_ESCROW_Anchor *anchor, |
1581 | GNUNET_SCHEDULER_TaskCallback cb, | 1581 | GNUNET_SCHEDULER_TaskCallback cb, |
1582 | uint32_t op_id) | 1582 | uint32_t op_id) |
1583 | { | 1583 | { |