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/transport/test_plugin_transport.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/transport/test_plugin_transport.c')
-rw-r--r-- | src/transport/test_plugin_transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/test_plugin_transport.c b/src/transport/test_plugin_transport.c index 97a88beb5..eecb30605 100644 --- a/src/transport/test_plugin_transport.c +++ b/src/transport/test_plugin_transport.c | |||
@@ -48,7 +48,7 @@ | |||
48 | /** | 48 | /** |
49 | * Our public key. | 49 | * Our public key. |
50 | */ | 50 | */ |
51 | static struct GNUNET_CRYPTO_EccPublicKey my_public_key; | 51 | static struct GNUNET_CRYPTO_EccPublicSignKey my_public_key; |
52 | 52 | ||
53 | /** | 53 | /** |
54 | * Our identity. | 54 | * Our identity. |
@@ -634,7 +634,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
634 | end_badly_now (); | 634 | end_badly_now (); |
635 | return; | 635 | return; |
636 | } | 636 | } |
637 | GNUNET_CRYPTO_ecc_key_get_public (my_private_key, &my_public_key); | 637 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (my_private_key, &my_public_key); |
638 | GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key), | 638 | GNUNET_CRYPTO_hash (&my_public_key, sizeof (my_public_key), |
639 | &my_identity.hashPubKey); | 639 | &my_identity.hashPubKey); |
640 | 640 | ||