diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-23 13:32:54 +0200 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-23 13:32:54 +0200 |
commit | 6c4bd20776ce2dd060beee9abd7baaf7d38c4988 (patch) | |
tree | 4aa11598d30d9ad56d95029a7c734e8b57aa696f /src/reclaim/oidc_helper.c | |
parent | 97b5905aac2954fd0ce618b86ae80d11671fa1ba (diff) | |
download | gnunet-6c4bd20776ce2dd060beee9abd7baaf7d38c4988.tar.gz gnunet-6c4bd20776ce2dd060beee9abd7baaf7d38c4988.zip |
fixes
Diffstat (limited to 'src/reclaim/oidc_helper.c')
-rw-r--r-- | src/reclaim/oidc_helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reclaim/oidc_helper.c b/src/reclaim/oidc_helper.c index 9a99c5668..5ad1ff0a0 100644 --- a/src/reclaim/oidc_helper.c +++ b/src/reclaim/oidc_helper.c | |||
@@ -364,8 +364,8 @@ OIDC_parse_authz_code (const struct GNUNET_CRYPTO_EcdsaPublicKey *audience, | |||
364 | 364 | ||
365 | } | 365 | } |
366 | if (NULL != nonce_str) | 366 | if (NULL != nonce_str) |
367 | memcpy (&purpose[1] + sizeof (struct GNUNET_RECLAIM_Ticket), | 367 | memcpy (nonce_str, |
368 | nonce_str, | 368 | &purpose[1] + sizeof (struct GNUNET_RECLAIM_Ticket), |
369 | strlen (nonce_str)); | 369 | strlen (nonce_str)); |
370 | if (GNUNET_OK != GNUNET_CRYPTO_ecdsa_verify (GNUNET_SIGNATURE_PURPOSE_RECLAIM_CODE_SIGN, | 370 | if (GNUNET_OK != GNUNET_CRYPTO_ecdsa_verify (GNUNET_SIGNATURE_PURPOSE_RECLAIM_CODE_SIGN, |
371 | purpose, | 371 | purpose, |