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_store_update.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_store_update.c')
-rw-r--r-- | src/namestore/test_namestore_api_store_update.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_store_update.c b/src/namestore/test_namestore_api_store_update.c index 9455c6bd6..e36272fca 100644 --- a/src/namestore/test_namestore_api_store_update.c +++ b/src/namestore/test_namestore_api_store_update.c | |||
@@ -48,7 +48,7 @@ static GNUNET_SCHEDULER_TaskIdentifier endbadly_task; | |||
48 | 48 | ||
49 | static struct GNUNET_CRYPTO_EccPrivateKey *privkey; | 49 | static struct GNUNET_CRYPTO_EccPrivateKey *privkey; |
50 | 50 | ||
51 | static struct GNUNET_CRYPTO_EccPublicKey pubkey; | 51 | static struct GNUNET_CRYPTO_EccPublicSignKey pubkey; |
52 | 52 | ||
53 | static int res; | 53 | static int res; |
54 | 54 | ||
@@ -222,7 +222,7 @@ run (void *cls, | |||
222 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file); | 222 | privkey = GNUNET_CRYPTO_ecc_key_create_from_file (hostkey_file); |
223 | GNUNET_free (hostkey_file); | 223 | GNUNET_free (hostkey_file); |
224 | GNUNET_assert (privkey != NULL); | 224 | GNUNET_assert (privkey != NULL); |
225 | GNUNET_CRYPTO_ecc_key_get_public (privkey, &pubkey); | 225 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (privkey, &pubkey); |
226 | 226 | ||
227 | 227 | ||
228 | rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us; | 228 | rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us; |