From 6c4bd20776ce2dd060beee9abd7baaf7d38c4988 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Mon, 23 Jul 2018 13:32:54 +0200 Subject: fixes --- src/reclaim/oidc_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/reclaim/oidc_helper.c') 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, } if (NULL != nonce_str) - memcpy (&purpose[1] + sizeof (struct GNUNET_RECLAIM_Ticket), - nonce_str, + memcpy (nonce_str, + &purpose[1] + sizeof (struct GNUNET_RECLAIM_Ticket), strlen (nonce_str)); if (GNUNET_OK != GNUNET_CRYPTO_ecdsa_verify (GNUNET_SIGNATURE_PURPOSE_RECLAIM_CODE_SIGN, purpose, -- cgit v1.2.3