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/gns/test_gns_max_queries.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/gns/test_gns_max_queries.c')
-rw-r--r-- | src/gns/test_gns_max_queries.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gns/test_gns_max_queries.c b/src/gns/test_gns_max_queries.c index 5df715b78..304066017 100644 --- a/src/gns/test_gns_max_queries.c +++ b/src/gns/test_gns_max_queries.c | |||
@@ -252,8 +252,8 @@ do_check (void *cls, | |||
252 | const struct GNUNET_CONFIGURATION_Handle *ccfg, | 252 | const struct GNUNET_CONFIGURATION_Handle *ccfg, |
253 | struct GNUNET_TESTING_Peer *peer) | 253 | struct GNUNET_TESTING_Peer *peer) |
254 | { | 254 | { |
255 | struct GNUNET_CRYPTO_EccPublicKey alice_pkey; | 255 | struct GNUNET_CRYPTO_EccPublicSignKey alice_pkey; |
256 | struct GNUNET_CRYPTO_EccPublicKey bob_pkey; | 256 | struct GNUNET_CRYPTO_EccPublicSignKey bob_pkey; |
257 | struct GNUNET_CRYPTO_EccPrivateKey *alice_key; | 257 | struct GNUNET_CRYPTO_EccPrivateKey *alice_key; |
258 | struct GNUNET_CRYPTO_EccPrivateKey *bob_key; | 258 | struct GNUNET_CRYPTO_EccPrivateKey *bob_key; |
259 | char* alice_keyfile; | 259 | char* alice_keyfile; |
@@ -295,8 +295,8 @@ do_check (void *cls, | |||
295 | alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile); | 295 | alice_key = GNUNET_CRYPTO_ecc_key_create_from_file (alice_keyfile); |
296 | bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB); | 296 | bob_key = GNUNET_CRYPTO_ecc_key_create_from_file (KEYFILE_BOB); |
297 | 297 | ||
298 | GNUNET_CRYPTO_ecc_key_get_public (alice_key, &alice_pkey); | 298 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (alice_key, &alice_pkey); |
299 | GNUNET_CRYPTO_ecc_key_get_public (bob_key, &bob_pkey); | 299 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (bob_key, &bob_pkey); |
300 | 300 | ||
301 | GNUNET_free(alice_keyfile); | 301 | GNUNET_free(alice_keyfile); |
302 | 302 | ||