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_not_existing_record.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_not_existing_record.c')
-rw-r--r-- | src/namestore/test_namestore_api_remove_not_existing_record.c | 4 |
1 files changed, 2 insertions, 2 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 396e69ff0..7c4dcc253 100644 --- a/src/namestore/test_namestore_api_remove_not_existing_record.c +++ b/src/namestore/test_namestore_api_remove_not_existing_record.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 | ||
@@ -152,7 +152,7 @@ run (void *cls, | |||
152 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file); | 152 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file); |
153 | GNUNET_free (hostkey_file); | 153 | GNUNET_free (hostkey_file); |
154 | GNUNET_assert (privkey != NULL); | 154 | GNUNET_assert (privkey != NULL); |
155 | GNUNET_CRYPTO_ecc_key_get_public (privkey, &pubkey); | 155 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (privkey, &pubkey); |
156 | 156 | ||
157 | nsh = GNUNET_NAMESTORE_connect (cfg); | 157 | nsh = GNUNET_NAMESTORE_connect (cfg); |
158 | GNUNET_break (NULL != nsh); | 158 | GNUNET_break (NULL != nsh); |