diff options
Diffstat (limited to 'src/escrow/plugin_escrow_plaintext.c')
-rw-r--r-- | src/escrow/plugin_escrow_plaintext.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/escrow/plugin_escrow_plaintext.c b/src/escrow/plugin_escrow_plaintext.c index f4bd26f19..7de922104 100644 --- a/src/escrow/plugin_escrow_plaintext.c +++ b/src/escrow/plugin_escrow_plaintext.c | |||
@@ -357,12 +357,11 @@ handle_restore_error (void *cls) | |||
357 | struct ESCROW_PluginOperationWrapper * | 357 | struct ESCROW_PluginOperationWrapper * |
358 | restore_plaintext_key_escrow (struct GNUNET_ESCROW_Handle *h, | 358 | restore_plaintext_key_escrow (struct GNUNET_ESCROW_Handle *h, |
359 | struct GNUNET_ESCROW_Anchor *escrowAnchor, | 359 | struct GNUNET_ESCROW_Anchor *escrowAnchor, |
360 | char *egoName, | 360 | const char *egoName, |
361 | ESCROW_Plugin_Continuation cb, | 361 | ESCROW_Plugin_Continuation cb, |
362 | uint32_t op_id) | 362 | uint32_t op_id) |
363 | { | 363 | { |
364 | struct GNUNET_CRYPTO_EcdsaPrivateKey pk; | 364 | struct GNUNET_CRYPTO_EcdsaPrivateKey pk; |
365 | struct GNUNET_IDENTITY_Operation *id_op; | ||
366 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap; | 365 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap; |
367 | struct ESCROW_PlaintextPluginOperation *p_op; | 366 | struct ESCROW_PlaintextPluginOperation *p_op; |
368 | struct ESCROW_Plugin_EgoContinuationWrapper *w; | 367 | struct ESCROW_Plugin_EgoContinuationWrapper *w; |
@@ -403,13 +402,11 @@ restore_plaintext_key_escrow (struct GNUNET_ESCROW_Handle *h, | |||
403 | return plugin_op_wrap; | 402 | return plugin_op_wrap; |
404 | } | 403 | } |
405 | 404 | ||
406 | id_op = GNUNET_IDENTITY_create (identity_handle, | 405 | p_op->id_op = GNUNET_IDENTITY_create (identity_handle, |
407 | egoName, | 406 | egoName, |
408 | &pk, | 407 | &pk, |
409 | &create_finished, | 408 | &create_finished, |
410 | p_op); | 409 | p_op); |
411 | |||
412 | p_op->id_op = id_op; | ||
413 | 410 | ||
414 | return plugin_op_wrap; | 411 | return plugin_op_wrap; |
415 | } | 412 | } |