aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_cache_block.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_cache_block.c')
-rw-r--r--src/namestore/test_namestore_api_cache_block.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/namestore/test_namestore_api_cache_block.c b/src/namestore/test_namestore_api_cache_block.c
index 8ed010abd..1fee80ec8 100644
--- a/src/namestore/test_namestore_api_cache_block.c
+++ b/src/namestore/test_namestore_api_cache_block.c
@@ -38,9 +38,9 @@ static struct GNUNET_NAMESTORE_Handle *nsh;
38 38
39static GNUNET_SCHEDULER_TaskIdentifier endbadly_task; 39static GNUNET_SCHEDULER_TaskIdentifier endbadly_task;
40 40
41static struct GNUNET_CRYPTO_EccPrivateKey *privkey; 41static struct GNUNET_CRYPTO_EcdsaPrivateKey *privkey;
42 42
43static struct GNUNET_CRYPTO_EccPublicSignKey pubkey; 43static struct GNUNET_CRYPTO_EcdsaPublicKey pubkey;
44 44
45static int res; 45static int res;
46 46
@@ -182,10 +182,10 @@ run (void *cls,
182 DIR_SEPARATOR_STR, 182 DIR_SEPARATOR_STR,
183 "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); 183 "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey");
184 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); 184 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file);
185 privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file); 185 privkey = GNUNET_CRYPTO_ecdsa_key_create_from_file (hostkey_file);
186 GNUNET_free (hostkey_file); 186 GNUNET_free (hostkey_file);
187 GNUNET_assert (privkey != NULL); 187 GNUNET_assert (privkey != NULL);
188 GNUNET_CRYPTO_ecc_key_get_public_for_signature (privkey, &pubkey); 188 GNUNET_CRYPTO_ecdsa_key_get_public (privkey, &pubkey);
189 189
190 190
191 rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us; 191 rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us;