diff options
Diffstat (limited to 'src/namestore/test_namestore_api_store_update.c')
-rw-r--r-- | src/namestore/test_namestore_api_store_update.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/namestore/test_namestore_api_store_update.c b/src/namestore/test_namestore_api_store_update.c index 9baa4becd..86495e261 100644 --- a/src/namestore/test_namestore_api_store_update.c +++ b/src/namestore/test_namestore_api_store_update.c | |||
@@ -44,9 +44,9 @@ static struct GNUNET_NAMESTORE_Handle *nsh; | |||
44 | 44 | ||
45 | static struct GNUNET_SCHEDULER_Task *endbadly_task; | 45 | static struct GNUNET_SCHEDULER_Task *endbadly_task; |
46 | 46 | ||
47 | static struct GNUNET_IDENTITY_PrivateKey privkey; | 47 | static struct GNUNET_CRYPTO_PrivateKey privkey; |
48 | 48 | ||
49 | static struct GNUNET_IDENTITY_PublicKey pubkey; | 49 | static struct GNUNET_CRYPTO_PublicKey pubkey; |
50 | 50 | ||
51 | static int res; | 51 | static int res; |
52 | 52 | ||
@@ -100,7 +100,7 @@ put_cont (void *cls, | |||
100 | 100 | ||
101 | static void | 101 | static void |
102 | lookup_success (void *cls, | 102 | lookup_success (void *cls, |
103 | const struct GNUNET_IDENTITY_PrivateKey *zone, | 103 | const struct GNUNET_CRYPTO_PrivateKey *zone, |
104 | const char* label, | 104 | const char* label, |
105 | unsigned int rd_count, | 105 | unsigned int rd_count, |
106 | const struct GNUNET_GNSRECORD_Data *rd) | 106 | const struct GNUNET_GNSRECORD_Data *rd) |
@@ -210,7 +210,7 @@ run (void *cls, | |||
210 | memset (&privkey, 0, sizeof (privkey)); | 210 | memset (&privkey, 0, sizeof (privkey)); |
211 | privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); | 211 | privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); |
212 | GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); | 212 | GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); |
213 | GNUNET_IDENTITY_key_get_public (&privkey, &pubkey); | 213 | GNUNET_CRYPTO_key_get_public (&privkey, &pubkey); |
214 | rd.flags = GNUNET_GNSRECORD_RF_NONE; | 214 | rd.flags = GNUNET_GNSRECORD_RF_NONE; |
215 | rd.expiration_time = GNUNET_TIME_absolute_get ().abs_value_us + 1000000000; | 215 | rd.expiration_time = GNUNET_TIME_absolute_get ().abs_value_us + 1000000000; |
216 | rd.record_type = TEST_RECORD_TYPE; | 216 | rd.record_type = TEST_RECORD_TYPE; |