diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-13 12:00:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-13 12:00:01 +0000 |
commit | a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae (patch) | |
tree | b7768c5cb22e8a4f84d51cbd06dc04861fdb8510 /src/namestore/test_namestore_api_remove.c | |
parent | 95d42fdcb47eedcf2747614a22dacd676bc7faae (diff) | |
download | gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.tar.gz gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.zip |
splitting 'struct GNUNET_CRYPTO_EccPublicKey' into one struct for signing and another for encryption
Diffstat (limited to 'src/namestore/test_namestore_api_remove.c')
-rw-r--r-- | src/namestore/test_namestore_api_remove.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_remove.c b/src/namestore/test_namestore_api_remove.c index 22ab2bca4..0b027b7e1 100644 --- a/src/namestore/test_namestore_api_remove.c +++ b/src/namestore/test_namestore_api_remove.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 struct GNUNET_HashCode derived_hash; | 46 | static struct GNUNET_HashCode derived_hash; |
47 | 47 | ||
@@ -263,7 +263,7 @@ run (void *cls, | |||
263 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file); | 263 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file); |
264 | GNUNET_free (hostkey_file); | 264 | GNUNET_free (hostkey_file); |
265 | GNUNET_assert (privkey != NULL); | 265 | GNUNET_assert (privkey != NULL); |
266 | GNUNET_CRYPTO_ecc_key_get_public (privkey, &pubkey); | 266 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (privkey, &pubkey); |
267 | 267 | ||
268 | removed = GNUNET_NO; | 268 | removed = GNUNET_NO; |
269 | 269 | ||