diff options
Diffstat (limited to 'src/reclaim/gnunet-reclaim.c')
-rw-r--r-- | src/reclaim/gnunet-reclaim.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/reclaim/gnunet-reclaim.c b/src/reclaim/gnunet-reclaim.c index cb8703495..efb2c2902 100644 --- a/src/reclaim/gnunet-reclaim.c +++ b/src/reclaim/gnunet-reclaim.c | |||
@@ -152,12 +152,12 @@ static struct GNUNET_RECLAIM_TicketIterator *ticket_iterator; | |||
152 | /** | 152 | /** |
153 | * ego private key | 153 | * ego private key |
154 | */ | 154 | */ |
155 | static const struct GNUNET_IDENTITY_PrivateKey *pkey; | 155 | static const struct GNUNET_CRYPTO_PrivateKey *pkey; |
156 | 156 | ||
157 | /** | 157 | /** |
158 | * rp public key | 158 | * rp public key |
159 | */ | 159 | */ |
160 | static struct GNUNET_IDENTITY_PublicKey rp_key; | 160 | static struct GNUNET_CRYPTO_PublicKey rp_key; |
161 | 161 | ||
162 | /** | 162 | /** |
163 | * Ticket to consume | 163 | * Ticket to consume |
@@ -264,7 +264,7 @@ store_cont (void *cls, int32_t success, const char *emsg) | |||
264 | 264 | ||
265 | static void | 265 | static void |
266 | process_attrs (void *cls, | 266 | process_attrs (void *cls, |
267 | const struct GNUNET_IDENTITY_PublicKey *identity, | 267 | const struct GNUNET_CRYPTO_PublicKey *identity, |
268 | const struct GNUNET_RECLAIM_Attribute *attr, | 268 | const struct GNUNET_RECLAIM_Attribute *attr, |
269 | const struct GNUNET_RECLAIM_Presentation *presentation) | 269 | const struct GNUNET_RECLAIM_Presentation *presentation) |
270 | { | 270 | { |
@@ -349,7 +349,7 @@ ticket_iter (void *cls, const struct GNUNET_RECLAIM_Ticket *ticket) | |||
349 | aud = | 349 | aud = |
350 | GNUNET_STRINGS_data_to_string_alloc (&ticket->audience, | 350 | GNUNET_STRINGS_data_to_string_alloc (&ticket->audience, |
351 | sizeof(struct | 351 | sizeof(struct |
352 | GNUNET_IDENTITY_PublicKey)); | 352 | GNUNET_CRYPTO_PublicKey)); |
353 | ref = GNUNET_STRINGS_data_to_string_alloc (&ticket->rnd, sizeof(ticket->rnd)); | 353 | ref = GNUNET_STRINGS_data_to_string_alloc (&ticket->rnd, sizeof(ticket->rnd)); |
354 | tkt = | 354 | tkt = |
355 | GNUNET_STRINGS_data_to_string_alloc (ticket, | 355 | GNUNET_STRINGS_data_to_string_alloc (ticket, |
@@ -514,7 +514,7 @@ iter_finished (void *cls) | |||
514 | 514 | ||
515 | static void | 515 | static void |
516 | iter_cb (void *cls, | 516 | iter_cb (void *cls, |
517 | const struct GNUNET_IDENTITY_PublicKey *identity, | 517 | const struct GNUNET_CRYPTO_PublicKey *identity, |
518 | const struct GNUNET_RECLAIM_Attribute *attr) | 518 | const struct GNUNET_RECLAIM_Attribute *attr) |
519 | { | 519 | { |
520 | struct GNUNET_RECLAIM_AttributeListEntry *le; | 520 | struct GNUNET_RECLAIM_AttributeListEntry *le; |
@@ -657,7 +657,7 @@ cred_iter_finished (void *cls) | |||
657 | 657 | ||
658 | static void | 658 | static void |
659 | cred_iter_cb (void *cls, | 659 | cred_iter_cb (void *cls, |
660 | const struct GNUNET_IDENTITY_PublicKey *identity, | 660 | const struct GNUNET_CRYPTO_PublicKey *identity, |
661 | const struct GNUNET_RECLAIM_Credential *cred) | 661 | const struct GNUNET_RECLAIM_Credential *cred) |
662 | { | 662 | { |
663 | char *cred_str; | 663 | char *cred_str; |
@@ -738,7 +738,7 @@ start_process () | |||
738 | 738 | ||
739 | if ((NULL != rp) && | 739 | if ((NULL != rp) && |
740 | (GNUNET_OK != | 740 | (GNUNET_OK != |
741 | GNUNET_IDENTITY_public_key_from_string (rp, &rp_key)) ) | 741 | GNUNET_CRYPTO_public_key_from_string (rp, &rp_key)) ) |
742 | { | 742 | { |
743 | fprintf (stderr, "%s is not a public key!\n", rp); | 743 | fprintf (stderr, "%s is not a public key!\n", rp); |
744 | cleanup_task = GNUNET_SCHEDULER_add_now (&do_cleanup, NULL); | 744 | cleanup_task = GNUNET_SCHEDULER_add_now (&do_cleanup, NULL); |