diff options
Diffstat (limited to 'src/identity/identity_api.c')
-rw-r--r-- | src/identity/identity_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c index 84ecb8765..f4ef81f68 100644 --- a/src/identity/identity_api.c +++ b/src/identity/identity_api.c | |||
@@ -186,7 +186,7 @@ GNUNET_IDENTITY_ego_get_anonymous () | |||
186 | 186 | ||
187 | if (NULL != anon.pk) | 187 | if (NULL != anon.pk) |
188 | return &anon; | 188 | return &anon; |
189 | anon.pk = GNUNET_CRYPTO_ecc_key_get_anonymous (); | 189 | anon.pk = (struct GNUNET_CRYPTO_EccPrivateKey *) GNUNET_CRYPTO_ecc_key_get_anonymous (); |
190 | GNUNET_CRYPTO_ecc_key_get_public (anon.pk, | 190 | GNUNET_CRYPTO_ecc_key_get_public (anon.pk, |
191 | &pub); | 191 | &pub); |
192 | GNUNET_CRYPTO_hash (&pub, sizeof (pub), &anon.id); | 192 | GNUNET_CRYPTO_hash (&pub, sizeof (pub), &anon.id); |