diff options
Diffstat (limited to 'src/fs/fs_unindex.c')
-rw-r--r-- | src/fs/fs_unindex.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c index 17c3731fe..365698c4f 100644 --- a/src/fs/fs_unindex.c +++ b/src/fs/fs_unindex.c | |||
@@ -553,9 +553,9 @@ void | |||
553 | GNUNET_FS_unindex_do_remove_kblocks_ (struct GNUNET_FS_UnindexContext *uc) | 553 | GNUNET_FS_unindex_do_remove_kblocks_ (struct GNUNET_FS_UnindexContext *uc) |
554 | { | 554 | { |
555 | const char *keyword; | 555 | const char *keyword; |
556 | struct GNUNET_PseudonymHandle *ph; | 556 | struct GNUNET_FS_PseudonymHandle *ph; |
557 | struct GNUNET_PseudonymIdentifier anon; | 557 | struct GNUNET_FS_PseudonymIdentifier anon; |
558 | struct GNUNET_PseudonymIdentifier verification_key; | 558 | struct GNUNET_FS_PseudonymIdentifier verification_key; |
559 | struct GNUNET_HashCode signing_key; | 559 | struct GNUNET_HashCode signing_key; |
560 | 560 | ||
561 | if (NULL == uc->dsh) | 561 | if (NULL == uc->dsh) |
@@ -575,17 +575,17 @@ GNUNET_FS_unindex_do_remove_kblocks_ (struct GNUNET_FS_UnindexContext *uc) | |||
575 | return; | 575 | return; |
576 | } | 576 | } |
577 | /* FIXME: code duplication with fs_search.c here... */ | 577 | /* FIXME: code duplication with fs_search.c here... */ |
578 | ph = GNUNET_PSEUDONYM_get_anonymous_pseudonym_handle (); | 578 | ph = GNUNET_FS_pseudonym_get_anonymous_pseudonym_handle (); |
579 | GNUNET_PSEUDONYM_get_identifier (ph, &anon); | 579 | GNUNET_FS_pseudonym_get_identifier (ph, &anon); |
580 | GNUNET_PSEUDONYM_destroy (ph); | 580 | GNUNET_FS_pseudonym_destroy (ph); |
581 | keyword = &uc->ksk_uri->data.ksk.keywords[uc->ksk_offset][1]; | 581 | keyword = &uc->ksk_uri->data.ksk.keywords[uc->ksk_offset][1]; |
582 | GNUNET_CRYPTO_hash (keyword, strlen (keyword), &uc->ukey); | 582 | GNUNET_CRYPTO_hash (keyword, strlen (keyword), &uc->ukey); |
583 | GNUNET_CRYPTO_hash (&uc->ukey, sizeof (struct GNUNET_HashCode), &signing_key); | 583 | GNUNET_CRYPTO_hash (&uc->ukey, sizeof (struct GNUNET_HashCode), &signing_key); |
584 | GNUNET_PSEUDONYM_derive_verification_key (&anon, | 584 | GNUNET_FS_pseudonym_derive_verification_key (&anon, |
585 | &signing_key, | 585 | &signing_key, |
586 | &verification_key); | 586 | &verification_key); |
587 | GNUNET_CRYPTO_hash (&verification_key, | 587 | GNUNET_CRYPTO_hash (&verification_key, |
588 | sizeof (struct GNUNET_PseudonymIdentifier), | 588 | sizeof (struct GNUNET_FS_PseudonymIdentifier), |
589 | &uc->uquery); | 589 | &uc->uquery); |
590 | uc->first_uid = 0; | 590 | uc->first_uid = 0; |
591 | uc->dqe = GNUNET_DATASTORE_get_key (uc->dsh, | 591 | uc->dqe = GNUNET_DATASTORE_get_key (uc->dsh, |