aboutsummaryrefslogtreecommitdiff
path: root/src/identity/identity_api_suffix_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/identity/identity_api_suffix_lookup.c')
-rw-r--r--src/identity/identity_api_suffix_lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/identity/identity_api_suffix_lookup.c b/src/identity/identity_api_suffix_lookup.c
index 4b459345d..7bc0d18f3 100644
--- a/src/identity/identity_api_suffix_lookup.c
+++ b/src/identity/identity_api_suffix_lookup.c
@@ -132,7 +132,7 @@ handle_identity_update (void *cls, const struct UpdateMessage *um)
132 const char *str; 132 const char *str;
133 size_t key_len; 133 size_t key_len;
134 size_t kb_read; 134 size_t kb_read;
135 struct GNUNET_IDENTITY_PrivateKey private_key; 135 struct GNUNET_CRYPTO_PrivateKey private_key;
136 const char *tmp; 136 const char *tmp;
137 137
138 tmp = (const char*) &um[1]; 138 tmp = (const char*) &um[1];
@@ -142,7 +142,7 @@ handle_identity_update (void *cls, const struct UpdateMessage *um)
142 if (0 < key_len) 142 if (0 < key_len)
143 { 143 {
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));