diff options
Diffstat (limited to 'src/identity-provider/gnunet-identity-token.c')
-rw-r--r-- | src/identity-provider/gnunet-identity-token.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/identity-provider/gnunet-identity-token.c b/src/identity-provider/gnunet-identity-token.c index 3d2830835..3e7d5bd9b 100644 --- a/src/identity-provider/gnunet-identity-token.c +++ b/src/identity-provider/gnunet-identity-token.c | |||
@@ -58,7 +58,7 @@ run (void *cls, | |||
58 | purpose = (struct GNUNET_CRYPTO_EccSignaturePurpose*)val; | 58 | purpose = (struct GNUNET_CRYPTO_EccSignaturePurpose*)val; |
59 | purpose->size = htonl(sizeof (struct GNUNET_CRYPTO_EccSignaturePurpose) + strlen (data)); | 59 | purpose->size = htonl(sizeof (struct GNUNET_CRYPTO_EccSignaturePurpose) + strlen (data)); |
60 | purpose->purpose = htonl(GNUNET_SIGNATURE_PURPOSE_GNUID_TOKEN); | 60 | purpose->purpose = htonl(GNUNET_SIGNATURE_PURPOSE_GNUID_TOKEN); |
61 | memcpy (&purpose[1], data, strlen(data)); | 61 | GNUNET_memcpy (&purpose[1], data, strlen(data)); |
62 | GNUNET_free (data); | 62 | GNUNET_free (data); |
63 | GNUNET_free (header_b64); | 63 | GNUNET_free (header_b64); |
64 | GNUNET_free (header_b64); | 64 | GNUNET_free (header_b64); |