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 b9306b802..cefb66b8f 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_CRYPTO_EcdsaPrivateKey *pkey; | 155 | static const struct GNUNET_IDENTITY_PrivateKey *pkey; |
156 | 156 | ||
157 | /** | 157 | /** |
158 | * rp public key | 158 | * rp public key |
159 | */ | 159 | */ |
160 | static struct GNUNET_CRYPTO_EcdsaPublicKey rp_key; | 160 | static struct GNUNET_IDENTITY_PublicKey rp_key; |
161 | 161 | ||
162 | /** | 162 | /** |
163 | * Ticket to consume | 163 | * Ticket to consume |
@@ -261,7 +261,7 @@ store_cont (void *cls, int32_t success, const char *emsg) | |||
261 | 261 | ||
262 | static void | 262 | static void |
263 | process_attrs (void *cls, | 263 | process_attrs (void *cls, |
264 | const struct GNUNET_CRYPTO_EcdsaPublicKey *identity, | 264 | const struct GNUNET_IDENTITY_PublicKey *identity, |
265 | const struct GNUNET_RECLAIM_Attribute *attr, | 265 | const struct GNUNET_RECLAIM_Attribute *attr, |
266 | const struct GNUNET_RECLAIM_Presentation *presentation) | 266 | const struct GNUNET_RECLAIM_Presentation *presentation) |
267 | { | 267 | { |
@@ -346,7 +346,7 @@ ticket_iter (void *cls, const struct GNUNET_RECLAIM_Ticket *ticket) | |||
346 | aud = | 346 | aud = |
347 | GNUNET_STRINGS_data_to_string_alloc (&ticket->audience, | 347 | GNUNET_STRINGS_data_to_string_alloc (&ticket->audience, |
348 | sizeof(struct | 348 | sizeof(struct |
349 | GNUNET_CRYPTO_EcdsaPublicKey)); | 349 | GNUNET_IDENTITY_PublicKey)); |
350 | ref = GNUNET_STRINGS_data_to_string_alloc (&ticket->rnd, sizeof(ticket->rnd)); | 350 | ref = GNUNET_STRINGS_data_to_string_alloc (&ticket->rnd, sizeof(ticket->rnd)); |
351 | tkt = | 351 | tkt = |
352 | GNUNET_STRINGS_data_to_string_alloc (ticket, | 352 | GNUNET_STRINGS_data_to_string_alloc (ticket, |
@@ -511,7 +511,7 @@ iter_finished (void *cls) | |||
511 | 511 | ||
512 | static void | 512 | static void |
513 | iter_cb (void *cls, | 513 | iter_cb (void *cls, |
514 | const struct GNUNET_CRYPTO_EcdsaPublicKey *identity, | 514 | const struct GNUNET_IDENTITY_PublicKey *identity, |
515 | const struct GNUNET_RECLAIM_Attribute *attr) | 515 | const struct GNUNET_RECLAIM_Attribute *attr) |
516 | { | 516 | { |
517 | struct GNUNET_RECLAIM_AttributeListEntry *le; | 517 | struct GNUNET_RECLAIM_AttributeListEntry *le; |
@@ -653,7 +653,7 @@ cred_iter_finished (void *cls) | |||
653 | 653 | ||
654 | static void | 654 | static void |
655 | cred_iter_cb (void *cls, | 655 | cred_iter_cb (void *cls, |
656 | const struct GNUNET_CRYPTO_EcdsaPublicKey *identity, | 656 | const struct GNUNET_IDENTITY_PublicKey *identity, |
657 | const struct GNUNET_RECLAIM_Credential *cred) | 657 | const struct GNUNET_RECLAIM_Credential *cred) |
658 | { | 658 | { |
659 | char *cred_str; | 659 | char *cred_str; |
@@ -734,7 +734,7 @@ start_process () | |||
734 | 734 | ||
735 | if ((NULL != rp) && | 735 | if ((NULL != rp) && |
736 | (GNUNET_OK != | 736 | (GNUNET_OK != |
737 | GNUNET_CRYPTO_ecdsa_public_key_from_string (rp, strlen (rp), &rp_key)) ) | 737 | GNUNET_IDENTITY_public_key_from_string (rp, &rp_key)) ) |
738 | { | 738 | { |
739 | fprintf (stderr, "%s is not a public key!\n", rp); | 739 | fprintf (stderr, "%s is not a public key!\n", rp); |
740 | cleanup_task = GNUNET_SCHEDULER_add_now (&do_cleanup, NULL); | 740 | cleanup_task = GNUNET_SCHEDULER_add_now (&do_cleanup, NULL); |