aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-07-23 14:10:33 +0200
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>2018-07-23 14:10:33 +0200
commita84e3a97d067bb36d350ee6acb09772fcda37127 (patch)
tree6977b954b895892e9772bd4f28bb4c24bad0f3c6 /src
parente3383d7cd239905487bfae46967256bb2a1a98ab (diff)
downloadgnunet-a84e3a97d067bb36d350ee6acb09772fcda37127.tar.gz
gnunet-a84e3a97d067bb36d350ee6acb09772fcda37127.zip
fix signature check
Diffstat (limited to 'src')
-rw-r--r--src/reclaim/oidc_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reclaim/oidc_helper.c b/src/reclaim/oidc_helper.c
index f63e38e9a..1e9e64fec 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 (nonce_str, 367 memcpy (((char*)&purpose[1]) + sizeof (struct GNUNET_RECLAIM_Ticket),
368 ((char*)&purpose[1]) + sizeof (struct GNUNET_RECLAIM_Ticket), 368 nonce_str,
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,