aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_store_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_store_update.c')
-rw-r--r--src/namestore/test_namestore_api_store_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_store_update.c b/src/namestore/test_namestore_api_store_update.c
index 9455c6bd6..e36272fca 100644
--- a/src/namestore/test_namestore_api_store_update.c
+++ b/src/namestore/test_namestore_api_store_update.c
@@ -48,7 +48,7 @@ static GNUNET_SCHEDULER_TaskIdentifier endbadly_task;
48 48
49static struct GNUNET_CRYPTO_EccPrivateKey *privkey; 49static struct GNUNET_CRYPTO_EccPrivateKey *privkey;
50 50
51static struct GNUNET_CRYPTO_EccPublicKey pubkey; 51static struct GNUNET_CRYPTO_EccPublicSignKey pubkey;
52 52
53static int res; 53static int res;
54 54
@@ -222,7 +222,7 @@ run (void *cls,
222 privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file); 222 privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file);
223 GNUNET_free (hostkey_file); 223 GNUNET_free (hostkey_file);
224 GNUNET_assert (privkey != NULL); 224 GNUNET_assert (privkey != NULL);
225 GNUNET_CRYPTO_ecc_key_get_public (privkey, &pubkey); 225 GNUNET_CRYPTO_ecc_key_get_public_for_signature (privkey, &pubkey);
226 226
227 227
228 rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us; 228 rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us;