aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_blocks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_blocks.c')
-rw-r--r--src/namestore/test_namestore_api_blocks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_blocks.c b/src/namestore/test_namestore_api_blocks.c
index 446a28c18..d7057fc8f 100644
--- a/src/namestore/test_namestore_api_blocks.c
+++ b/src/namestore/test_namestore_api_blocks.c
@@ -101,7 +101,7 @@ run (void *cls, char *const *args, const char *cfgfile,
101 const struct GNUNET_CONFIGURATION_Handle *cfg) 101 const struct GNUNET_CONFIGURATION_Handle *cfg)
102{ 102{
103 struct GNUNET_NAMESTORE_Block *block; 103 struct GNUNET_NAMESTORE_Block *block;
104 struct GNUNET_CRYPTO_EccPublicKey pubkey; 104 struct GNUNET_CRYPTO_EccPublicSignKey pubkey;
105 105
106 /* load privat key */ 106 /* load privat key */
107 char *hostkey_file; 107 char *hostkey_file;
@@ -113,7 +113,7 @@ run (void *cls, char *const *args, const char *cfgfile,
113 GNUNET_assert (privkey != NULL); 113 GNUNET_assert (privkey != NULL);
114 struct GNUNET_TIME_Absolute expire = GNUNET_TIME_absolute_get(); 114 struct GNUNET_TIME_Absolute expire = GNUNET_TIME_absolute_get();
115 /* get public key */ 115 /* get public key */
116 GNUNET_CRYPTO_ecc_key_get_public(privkey, &pubkey); 116 GNUNET_CRYPTO_ecc_key_get_public_for_signature(privkey, &pubkey);
117 117
118 /* create record */ 118 /* create record */
119 s_name = "DUMMY.dummy.gnunet"; 119 s_name = "DUMMY.dummy.gnunet";