diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2020-12-15 15:52:27 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2020-12-15 15:52:27 +0900 |
commit | 90cab809e8adaa868155e3325f04bcdbfe26fe60 (patch) | |
tree | f2be2d9b6313665a0c2ae27b739d2051a93a019d /src/reclaim/json_reclaim.c | |
parent | f6d7bdb03778a9feb3a9c53e67048d3aee9c7d48 (diff) | |
download | gnunet-90cab809e8adaa868155e3325f04bcdbfe26fe60.tar.gz gnunet-90cab809e8adaa868155e3325f04bcdbfe26fe60.zip |
fixes
Diffstat (limited to 'src/reclaim/json_reclaim.c')
-rw-r--r-- | src/reclaim/json_reclaim.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/reclaim/json_reclaim.c b/src/reclaim/json_reclaim.c index 8a3479b8a..6c945036a 100644 --- a/src/reclaim/json_reclaim.c +++ b/src/reclaim/json_reclaim.c | |||
@@ -211,8 +211,7 @@ parse_ticket (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) | |||
211 | GNUNET_STRINGS_string_to_data (id_str, | 211 | GNUNET_STRINGS_string_to_data (id_str, |
212 | strlen (id_str), | 212 | strlen (id_str), |
213 | &ticket->identity, | 213 | &ticket->identity, |
214 | sizeof( | 214 | sizeof(ticket->identity))) |
215 | struct GNUNET_CRYPTO_EcdsaPublicKey))) | ||
216 | { | 215 | { |
217 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Identity invalid\n"); | 216 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Identity invalid\n"); |
218 | GNUNET_free (ticket); | 217 | GNUNET_free (ticket); |
@@ -223,8 +222,7 @@ parse_ticket (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) | |||
223 | GNUNET_STRINGS_string_to_data (aud_str, | 222 | GNUNET_STRINGS_string_to_data (aud_str, |
224 | strlen (aud_str), | 223 | strlen (aud_str), |
225 | &ticket->audience, | 224 | &ticket->audience, |
226 | sizeof(struct | 225 | sizeof(ticket->audience))) |
227 | GNUNET_CRYPTO_EcdsaPublicKey))) | ||
228 | { | 226 | { |
229 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Audience invalid\n"); | 227 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Audience invalid\n"); |
230 | GNUNET_free (ticket); | 228 | GNUNET_free (ticket); |