aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_unindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/fs_unindex.c')
-rw-r--r--src/fs/fs_unindex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/fs_unindex.c b/src/fs/fs_unindex.c
index 5a956b0b5..6c4ee6696 100644
--- a/src/fs/fs_unindex.c
+++ b/src/fs/fs_unindex.c
@@ -554,8 +554,8 @@ GNUNET_FS_unindex_do_remove_kblocks_ (struct GNUNET_FS_UnindexContext *uc)
554{ 554{
555 const char *keyword; 555 const char *keyword;
556 const struct GNUNET_CRYPTO_EccPrivateKey *anon; 556 const struct GNUNET_CRYPTO_EccPrivateKey *anon;
557 struct GNUNET_CRYPTO_EccPublicKey anon_pub; 557 struct GNUNET_CRYPTO_EccPublicSignKey anon_pub;
558 struct GNUNET_CRYPTO_EccPublicKey dpub; 558 struct GNUNET_CRYPTO_EccPublicSignKey dpub;
559 559
560 if (NULL == uc->dsh) 560 if (NULL == uc->dsh)
561 uc->dsh = GNUNET_DATASTORE_connect (uc->h->cfg); 561 uc->dsh = GNUNET_DATASTORE_connect (uc->h->cfg);
@@ -574,7 +574,7 @@ GNUNET_FS_unindex_do_remove_kblocks_ (struct GNUNET_FS_UnindexContext *uc)
574 return; 574 return;
575 } 575 }
576 anon = GNUNET_CRYPTO_ecc_key_get_anonymous (); 576 anon = GNUNET_CRYPTO_ecc_key_get_anonymous ();
577 GNUNET_CRYPTO_ecc_key_get_public (anon, &anon_pub); 577 GNUNET_CRYPTO_ecc_key_get_public_for_signature (anon, &anon_pub);
578 keyword = &uc->ksk_uri->data.ksk.keywords[uc->ksk_offset][1]; 578 keyword = &uc->ksk_uri->data.ksk.keywords[uc->ksk_offset][1];
579 GNUNET_CRYPTO_ecc_public_key_derive (&anon_pub, 579 GNUNET_CRYPTO_ecc_public_key_derive (&anon_pub,
580 keyword, 580 keyword,