aboutsummaryrefslogtreecommitdiff
path: root/src/escrow/plugin_escrow_gns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/escrow/plugin_escrow_gns.c')
-rw-r--r--src/escrow/plugin_escrow_gns.c16
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 */
358struct ESCROW_PluginHandle ph; 358static 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 */
365void 365static void
366cleanup_plugin_operation (struct ESCROW_PluginOperationWrapper *plugin_op_wrap) 366cleanup_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
462void 462static void
463start_cont (void *cls) 463start_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
475void 475static void
476verify_cont (void *cls) 476verify_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
1111static uint8_t 1111static uint8_t
1112count_keyshares (sss_Keyshare *keyshares, uint8_t n) 1112count_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
1314static void 1314static void
1315restore_private_key (struct ESCROW_PluginOperationWrapper *plugin_op_wrap, 1315restore_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,
1423struct ESCROW_PluginOperationWrapper * 1423struct ESCROW_PluginOperationWrapper *
1424verify_gns_key_escrow (struct GNUNET_ESCROW_Handle *h, 1424verify_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 */
1578struct ESCROW_PluginOperationWrapper * 1578struct ESCROW_PluginOperationWrapper *
1579restore_gns_key_escrow (struct GNUNET_ESCROW_Handle *h, 1579restore_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{