diff options
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, |