gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: same id derivation for anon


From: gnunet
Subject: [gnunet] branch master updated: same id derivation for anon
Date: Wed, 06 May 2020 19:20:47 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new d83cf2d3b same id derivation for anon
d83cf2d3b is described below

commit d83cf2d3b949ea7fdd2e7ff3722dac0ca016233e
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Wed May 6 19:15:49 2020 +0200

    same id derivation for anon
---
 src/identity/identity_api.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c
index 9269e1c79..693d4392e 100644
--- a/src/identity/identity_api.c
+++ b/src/identity/identity_api.c
@@ -164,8 +164,8 @@ GNUNET_IDENTITY_ego_get_anonymous ()
   anon.pk = *GNUNET_CRYPTO_ecdsa_key_get_anonymous ();
   GNUNET_CRYPTO_ecdsa_key_get_public (&anon.pk,
                                       &pub);
-  GNUNET_CRYPTO_hash (&pub,
-                      sizeof(pub),
+  GNUNET_CRYPTO_hash (&anon.pk,
+                      sizeof(anon.pk),
                       &anon.id);
   setup = 1;
   return &anon;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]