diff options
Diffstat (limited to 'src/namestore/test_namestore_api_remove_not_existing_record.c')
-rw-r--r-- | src/namestore/test_namestore_api_remove_not_existing_record.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/namestore/test_namestore_api_remove_not_existing_record.c b/src/namestore/test_namestore_api_remove_not_existing_record.c index 86cf47e26..231d7b0bc 100644 --- a/src/namestore/test_namestore_api_remove_not_existing_record.c +++ b/src/namestore/test_namestore_api_remove_not_existing_record.c | |||
@@ -38,9 +38,9 @@ static struct GNUNET_NAMESTORE_Handle *nsh; | |||
38 | 38 | ||
39 | static GNUNET_SCHEDULER_TaskIdentifier endbadly_task; | 39 | static GNUNET_SCHEDULER_TaskIdentifier endbadly_task; |
40 | 40 | ||
41 | static struct GNUNET_CRYPTO_EccPrivateKey *privkey; | 41 | static struct GNUNET_CRYPTO_EcdsaPrivateKey *privkey; |
42 | 42 | ||
43 | static struct GNUNET_CRYPTO_EccPublicSignKey pubkey; | 43 | static struct GNUNET_CRYPTO_EcdsaPublicKey pubkey; |
44 | 44 | ||
45 | static int res; | 45 | static int res; |
46 | 46 | ||
@@ -148,10 +148,10 @@ run (void *cls, | |||
148 | DIR_SEPARATOR_STR, | 148 | DIR_SEPARATOR_STR, |
149 | "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); | 149 | "N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"); |
150 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); | 150 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using zonekey file `%s' \n", hostkey_file); |
151 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file); | 151 | privkey = GNUNET_CRYPTO_ecdsa_key_create_from_file (hostkey_file); |
152 | GNUNET_free (hostkey_file); | 152 | GNUNET_free (hostkey_file); |
153 | GNUNET_assert (privkey != NULL); | 153 | GNUNET_assert (privkey != NULL); |
154 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (privkey, &pubkey); | 154 | GNUNET_CRYPTO_ecdsa_key_get_public (privkey, &pubkey); |
155 | 155 | ||
156 | nsh = GNUNET_NAMESTORE_connect (cfg); | 156 | nsh = GNUNET_NAMESTORE_connect (cfg); |
157 | GNUNET_break (NULL != nsh); | 157 | GNUNET_break (NULL != nsh); |