From 82658b968a3163195ffa15aaa67d347308c2e5a9 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Sat, 27 Apr 2019 21:50:57 +0200 Subject: [PATCH] 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); } -- 2.25.1