diff options
Diffstat (limited to 'src/identity/identity_api.c')
-rw-r--r-- | src/identity/identity_api.c | 4 |
1 files 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 () | |||
164 | anon.pk = *GNUNET_CRYPTO_ecdsa_key_get_anonymous (); | 164 | anon.pk = *GNUNET_CRYPTO_ecdsa_key_get_anonymous (); |
165 | GNUNET_CRYPTO_ecdsa_key_get_public (&anon.pk, | 165 | GNUNET_CRYPTO_ecdsa_key_get_public (&anon.pk, |
166 | &pub); | 166 | &pub); |
167 | GNUNET_CRYPTO_hash (&pub, | 167 | GNUNET_CRYPTO_hash (&anon.pk, |
168 | sizeof(pub), | 168 | sizeof(anon.pk), |
169 | &anon.id); | 169 | &anon.id); |
170 | setup = 1; | 170 | setup = 1; |
171 | return &anon; | 171 | return &anon; |