aboutsummaryrefslogtreecommitdiff
path: root/src/setup/gnunet-setup-gns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup/gnunet-setup-gns.c')
-rw-r--r--src/setup/gnunet-setup-gns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/setup/gnunet-setup-gns.c b/src/setup/gnunet-setup-gns.c
index ad028be1..7d62b2a6 100644
--- a/src/setup/gnunet-setup-gns.c
+++ b/src/setup/gnunet-setup-gns.c
@@ -346,7 +346,7 @@ static struct GNUNET_CRYPTO_EccPrivateKey *pkey;
346/** 346/**
347 * Public key of the zone we are currently editing. 347 * Public key of the zone we are currently editing.
348 */ 348 */
349static struct GNUNET_CRYPTO_EccPublicKey pubkey; 349static struct GNUNET_CRYPTO_EccPublicSignKey pubkey;
350 350
351/** 351/**
352 * Pseudonym of the current zone we are editing. 352 * Pseudonym of the current zone we are editing.
@@ -826,9 +826,9 @@ decrypt_block_for_merge (void *cls,
826 const struct GNUNET_NAMESTORE_Block *block) 826 const struct GNUNET_NAMESTORE_Block *block)
827{ 827{
828 struct MoveOperationContext *moc = cls; 828 struct MoveOperationContext *moc = cls;
829 struct GNUNET_CRYPTO_EccPublicKey pubkey; 829 struct GNUNET_CRYPTO_EccPublicSignKey pubkey;
830 830
831 GNUNET_CRYPTO_ecc_key_get_public (moc->pk, 831 GNUNET_CRYPTO_ecc_key_get_public_for_signature (moc->pk,
832 &pubkey); 832 &pubkey);
833 if (GNUNET_OK != 833 if (GNUNET_OK !=
834 GNUNET_NAMESTORE_block_decrypt (block, 834 GNUNET_NAMESTORE_block_decrypt (block,
@@ -1968,7 +1968,7 @@ identity_cb (void *cls,
1968 } 1968 }
1969 pkey = GNUNET_new (struct GNUNET_CRYPTO_EccPrivateKey); 1969 pkey = GNUNET_new (struct GNUNET_CRYPTO_EccPrivateKey);
1970 *pkey = *GNUNET_IDENTITY_ego_get_private_key (ego); 1970 *pkey = *GNUNET_IDENTITY_ego_get_private_key (ego);
1971 GNUNET_CRYPTO_ecc_key_get_public (pkey, &pubkey); 1971 GNUNET_CRYPTO_ecc_key_get_public_for_signature (pkey, &pubkey);
1972 label = g_markup_printf_escaped (_("<b>Editing zone %s</b>"), 1972 label = g_markup_printf_escaped (_("<b>Editing zone %s</b>"),
1973 GNUNET_NAMESTORE_z2s (&pubkey)); 1973 GNUNET_NAMESTORE_z2s (&pubkey));
1974 gtk_label_set_markup (GTK_LABEL (GNUNET_SETUP_get_object ("GNUNET_setup_gns_zone_label")), 1974 gtk_label_set_markup (GTK_LABEL (GNUNET_SETUP_get_object ("GNUNET_setup_gns_zone_label")),