gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: fix loop


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix loop
Date: Wed, 04 Sep 2019 22:43:11 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 54b4415ff fix loop
54b4415ff is described below

commit 54b4415ffc78a6be2fb78610fdc60709c7e1d90c
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Wed Sep 4 22:40:47 2019 +0200

    fix loop
---
 src/reclaim/oidc_helper.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/reclaim/oidc_helper.c b/src/reclaim/oidc_helper.c
index 81688f3e0..c11079fb2 100644
--- a/src/reclaim/oidc_helper.c
+++ b/src/reclaim/oidc_helper.c
@@ -350,6 +350,7 @@ base64url_encode (const char *data, size_t data_size)
       enc[pos] = '\0';
       break;
     }
+    pos++;
   }
   return enc;
 }
@@ -662,7 +663,7 @@ OIDC_parse_authz_code (const struct 
GNUNET_CRYPTO_EcdsaPrivateKey *ecdsa_priv,
   }
   GNUNET_free (expected_code_challenge);
   // Ticket
-  memcpy (ticket, params->ticket, sizeof (*ticket));
+  memcpy (ticket, &params->ticket, sizeof (params->ticket));
   // Nonce
   nonce = ntohl (params->nonce); //ntohl (*((uint32_t *) ptr));
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Got nonce: %u\n", nonce);

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]