diff options
Diffstat (limited to 'src/namestore/test_namestore_api_store.c')
-rw-r--r-- | src/namestore/test_namestore_api_store.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_store.c b/src/namestore/test_namestore_api_store.c index b85003c60..00a3a1a1c 100644 --- a/src/namestore/test_namestore_api_store.c +++ b/src/namestore/test_namestore_api_store.c | |||
@@ -41,7 +41,7 @@ static GNUNET_SCHEDULER_TaskIdentifier endbadly_task; | |||
41 | 41 | ||
42 | static struct GNUNET_CRYPTO_EccPrivateKey *privkey; | 42 | static struct GNUNET_CRYPTO_EccPrivateKey *privkey; |
43 | 43 | ||
44 | static struct GNUNET_CRYPTO_EccPublicKey pubkey; | 44 | static struct GNUNET_CRYPTO_EccPublicSignKey pubkey; |
45 | 45 | ||
46 | static int res; | 46 | static int res; |
47 | 47 | ||
@@ -185,7 +185,7 @@ run (void *cls, | |||
185 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file); | 185 | privkey = GNUNET_CRYPTO_ecc_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 (privkey, &pubkey); | 188 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (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; |