diff options
Diffstat (limited to 'src/namecache/test_namecache_api_cache_block.c')
-rw-r--r-- | src/namecache/test_namecache_api_cache_block.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namecache/test_namecache_api_cache_block.c b/src/namecache/test_namecache_api_cache_block.c index d83758e7d..3a18a72e1 100644 --- a/src/namecache/test_namecache_api_cache_block.c +++ b/src/namecache/test_namecache_api_cache_block.c | |||
@@ -38,9 +38,9 @@ static struct GNUNET_NAMECACHE_Handle *nsh; | |||
38 | 38 | ||
39 | static struct GNUNET_SCHEDULER_Task *endbadly_task; | 39 | static struct GNUNET_SCHEDULER_Task *endbadly_task; |
40 | 40 | ||
41 | static struct GNUNET_IDENTITY_PrivateKey privkey; | 41 | static struct GNUNET_CRYPTO_PrivateKey privkey; |
42 | 42 | ||
43 | static struct GNUNET_IDENTITY_PublicKey pubkey; | 43 | static struct GNUNET_CRYPTO_PublicKey pubkey; |
44 | 44 | ||
45 | static int res; | 45 | static int res; |
46 | 46 | ||
@@ -177,7 +177,7 @@ run (void *cls, | |||
177 | &endbadly, NULL); | 177 | &endbadly, NULL); |
178 | privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); | 178 | privkey.type = htonl (GNUNET_GNSRECORD_TYPE_PKEY); |
179 | GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); | 179 | GNUNET_CRYPTO_ecdsa_key_create (&privkey.ecdsa_key); |
180 | GNUNET_IDENTITY_key_get_public (&privkey, &pubkey); | 180 | GNUNET_CRYPTO_key_get_public (&privkey, &pubkey); |
181 | 181 | ||
182 | 182 | ||
183 | rd.expiration_time = GNUNET_TIME_absolute_get ().abs_value_us + 10000000000; | 183 | rd.expiration_time = GNUNET_TIME_absolute_get ().abs_value_us + 10000000000; |