aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/gnunet-scalarproduct.c
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2013-12-19 16:43:52 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2013-12-19 16:43:52 +0000
commit3e34e42d44b482914e48605736d6b084aa2de259 (patch)
treeb264c8ee97f1dce7d92d1f4e3555fb26b9328ed5 /src/scalarproduct/gnunet-scalarproduct.c
parent711690ae9ee376f827c760c4544f93be88da4f92 (diff)
- converted peeridentity from hashcode to eddsa
Diffstat (limited to 'src/scalarproduct/gnunet-scalarproduct.c')
-rw-r--r--src/scalarproduct/gnunet-scalarproduct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scalarproduct/gnunet-scalarproduct.c b/src/scalarproduct/gnunet-scalarproduct.c
index 012ce91b8c..ef2f98f612 100644
--- a/src/scalarproduct/gnunet-scalarproduct.c
+++ b/src/scalarproduct/gnunet-scalarproduct.c
@@ -244,8 +244,8 @@ run (void *cls,
if (input_peer_id &&
(GNUNET_OK !=
- GNUNET_CRYPTO_hash_from_string (input_peer_id,
- (struct GNUNET_HashCode *) &closure->peer)))
+ GNUNET_CRYPTO_eddsa_public_key_from_string (input_peer_id,
+ (struct GNUNET_CRYPTO_EddsaPublicKey *) &closure->peer)))
{
LOG (GNUNET_ERROR_TYPE_ERROR,
_ ("Tried to set initiator mode, as peer ID was given. "