aboutsummaryrefslogtreecommitdiff
path: root/src/identity/identity_api_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/identity/identity_api_lookup.c')
-rw-r--r--src/identity/identity_api_lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/identity/identity_api_lookup.c b/src/identity/identity_api_lookup.c
index 4cc0b6334..03b229e08 100644
--- a/src/identity/identity_api_lookup.c
+++ b/src/identity/identity_api_lookup.c
@@ -131,7 +131,7 @@ handle_identity_update (void *cls, const struct UpdateMessage *um)
131 size_t kb_read; 131 size_t kb_read;
132 struct GNUNET_HashCode id; 132 struct GNUNET_HashCode id;
133 struct GNUNET_IDENTITY_Ego ego; 133 struct GNUNET_IDENTITY_Ego ego;
134 struct GNUNET_IDENTITY_PrivateKey private_key; 134 struct GNUNET_CRYPTO_PrivateKey private_key;
135 const char *tmp; 135 const char *tmp;
136 136
137 memset (&ego, 0, sizeof (ego)); 137 memset (&ego, 0, sizeof (ego));
@@ -142,7 +142,7 @@ handle_identity_update (void *cls, const struct UpdateMessage *um)
142 memset (&private_key, 0, sizeof (private_key)); 142 memset (&private_key, 0, sizeof (private_key));
143 key_len = ntohs (um->header.size) - sizeof (*um) - name_len; 143 key_len = ntohs (um->header.size) - sizeof (*um) - name_len;
144 GNUNET_assert (GNUNET_SYSERR != 144 GNUNET_assert (GNUNET_SYSERR !=
145 GNUNET_IDENTITY_read_private_key_from_buffer (tmp + name_len, 145 GNUNET_CRYPTO_read_private_key_from_buffer (tmp + name_len,
146 key_len, 146 key_len,
147 &private_key, 147 &private_key,
148 &kb_read)); 148 &kb_read));