diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-29 18:06:26 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-10-29 18:06:26 +0900 |
commit | 0f2da4636e108c70697c589d9e38781f2bafefba (patch) | |
tree | 0e831befd71d4323596cdae55e8431df7720c531 /src/gns | |
parent | 4e2259f14be320c8e2fe2a672a473e09677269c4 (diff) | |
download | gnunet-0f2da4636e108c70697c589d9e38781f2bafefba.tar.gz gnunet-0f2da4636e108c70697c589d9e38781f2bafefba.zip |
IDENTITY
This commit is a major rework of the unclean GNUNET_IDENTITY_*Key
structures and its use in serialized objects (e.g. RPC messages).
The structures are now no longer to be used directly but instead through
their serialization helper functions whenever needed.
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/plugin_gnsrecord_gns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/plugin_gnsrecord_gns.c b/src/gns/plugin_gnsrecord_gns.c index 0ce782a43..296957f19 100644 --- a/src/gns/plugin_gnsrecord_gns.c +++ b/src/gns/plugin_gnsrecord_gns.c | |||
@@ -178,7 +178,7 @@ gns_string_to_value (void *cls, | |||
178 | s); | 178 | s); |
179 | return GNUNET_SYSERR; | 179 | return GNUNET_SYSERR; |
180 | } | 180 | } |
181 | *data_size = GNUNET_IDENTITY_key_get_length (&pk); | 181 | *data_size = GNUNET_IDENTITY_public_key_get_length (&pk); |
182 | if (GNUNET_OK != | 182 | if (GNUNET_OK != |
183 | GNUNET_GNSRECORD_data_from_identity (&pk, | 183 | GNUNET_GNSRECORD_data_from_identity (&pk, |
184 | (char **) data, | 184 | (char **) data, |