diff options
Diffstat (limited to 'src/messenger/messenger_api_handle.c')
-rw-r--r-- | src/messenger/messenger_api_handle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/messenger/messenger_api_handle.c b/src/messenger/messenger_api_handle.c index ec8d3dc7a..fddf73ad5 100644 --- a/src/messenger/messenger_api_handle.c +++ b/src/messenger/messenger_api_handle.c | |||
@@ -124,17 +124,17 @@ get_handle_name (const struct GNUNET_MESSENGER_Handle *handle) | |||
124 | 124 | ||
125 | void | 125 | void |
126 | set_handle_key (struct GNUNET_MESSENGER_Handle *handle, | 126 | set_handle_key (struct GNUNET_MESSENGER_Handle *handle, |
127 | const struct GNUNET_IDENTITY_PublicKey *pubkey) | 127 | const struct GNUNET_CRYPTO_PublicKey *pubkey) |
128 | { | 128 | { |
129 | GNUNET_assert(handle); | 129 | GNUNET_assert(handle); |
130 | 130 | ||
131 | if (!handle->pubkey) | 131 | if (!handle->pubkey) |
132 | handle->pubkey = GNUNET_new(struct GNUNET_IDENTITY_PublicKey); | 132 | handle->pubkey = GNUNET_new(struct GNUNET_CRYPTO_PublicKey); |
133 | 133 | ||
134 | GNUNET_memcpy(handle->pubkey, pubkey, sizeof(*pubkey)); | 134 | GNUNET_memcpy(handle->pubkey, pubkey, sizeof(*pubkey)); |
135 | } | 135 | } |
136 | 136 | ||
137 | const struct GNUNET_IDENTITY_PublicKey* | 137 | const struct GNUNET_CRYPTO_PublicKey* |
138 | get_handle_key (const struct GNUNET_MESSENGER_Handle *handle) | 138 | get_handle_key (const struct GNUNET_MESSENGER_Handle *handle) |
139 | { | 139 | { |
140 | GNUNET_assert(handle); | 140 | GNUNET_assert(handle); |