diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-12 09:45:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-12 09:45:58 +0000 |
commit | 10c931b1357a9bc12ebbe1f7a98db0b8121909a7 (patch) | |
tree | c10bac65f970dcefad3f5f0f8cc2f158c6f59b53 /src/core | |
parent | 5d7126e2dcfe6f8130b8b703f4363bf5d6089272 (diff) | |
download | gnunet-10c931b1357a9bc12ebbe1f7a98db0b8121909a7.tar.gz gnunet-10c931b1357a9bc12ebbe1f7a98db0b8121909a7.zip |
-big bad bugfix thanks to Bart
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/gnunet-service-core_kx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c index 879939b18..4e216b905 100644 --- a/src/core/gnunet-service-core_kx.c +++ b/src/core/gnunet-service-core_kx.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | (C) 2009, 2010, 2011, 2012 Christian Grothoff (and other contributing authors) | 3 | (C) 2009-2013 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -498,7 +498,7 @@ derive_aes_key (const struct GNUNET_PeerIdentity *sender, | |||
498 | 498 | ||
499 | GNUNET_CRYPTO_kdf (skey, sizeof (struct GNUNET_CRYPTO_AesSessionKey), | 499 | GNUNET_CRYPTO_kdf (skey, sizeof (struct GNUNET_CRYPTO_AesSessionKey), |
500 | ctx, sizeof (ctx), | 500 | ctx, sizeof (ctx), |
501 | skey, sizeof (struct GNUNET_CRYPTO_AesSessionKey), | 501 | key_material, sizeof (struct GNUNET_HashCode), |
502 | sender, sizeof (struct GNUNET_PeerIdentity), | 502 | sender, sizeof (struct GNUNET_PeerIdentity), |
503 | receiver, sizeof (struct GNUNET_PeerIdentity), | 503 | receiver, sizeof (struct GNUNET_PeerIdentity), |
504 | NULL); | 504 | NULL); |