gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: RECLAIM/OIDC: fix key deriv


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: RECLAIM/OIDC: fix key derivation
Date: Sat, 27 Apr 2019 21:51:12 +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 82658b968 RECLAIM/OIDC: fix key derivation
82658b968 is described below

commit 82658b968a3163195ffa15aaa67d347308c2e5a9
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Sat Apr 27 21:50:57 2019 +0200

    RECLAIM/OIDC: fix key derivation
---
 src/reclaim/oidc_helper.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/reclaim/oidc_helper.c b/src/reclaim/oidc_helper.c
index 89e0920f0..167ee1729 100644
--- a/src/reclaim/oidc_helper.c
+++ b/src/reclaim/oidc_helper.c
@@ -303,16 +303,16 @@ derive_aes_key (struct GNUNET_CRYPTO_SymmetricSessionKey 
*key,
                      sizeof (struct GNUNET_CRYPTO_SymmetricSessionKey),
                      ctx_key,
                      strlen (ctx_key),
-                     &key_material,
-                     sizeof (key_material),
+                     key_material,
+                     sizeof (struct GNUNET_HashCode),
                      NULL);
   GNUNET_CRYPTO_kdf (iv,
                      sizeof (
                        struct GNUNET_CRYPTO_SymmetricInitializationVector),
                      ctx_iv,
                      strlen (ctx_iv),
-                     &key_material,
-                     sizeof (key_material),
+                     key_material,
+                     sizeof (struct GNUNET_HashCode),
                      NULL);
 }
 

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



reply via email to

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