aboutsummaryrefslogtreecommitdiff
path: root/src/identity
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-11 21:21:56 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-11 21:21:56 +0000
commit3d7fefedc9ba60bd8e8448efe8b628446d958536 (patch)
tree61ce41a52cd6e7232cead77818ef265993b2427e /src/identity
parent4a0398474db197abed243a123fb971fbeeffab4b (diff)
downloadgnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.tar.gz
gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.zip
changing time measurement from milliseconds to microseconds
Diffstat (limited to 'src/identity')
-rw-r--r--src/identity/identity_api.c2
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);