From f418b3098f441436af78c103a03cd8109f7cc00c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 29 Oct 2013 16:56:19 +0000 Subject: [PATCH] -match exact types from message struct --- src/core/gnunet-service-core_kx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c index 25db9c750..48e70eec5 100644 --- a/src/core/gnunet-service-core_kx.c +++ b/src/core/gnunet-service-core_kx.c @@ -1478,8 +1478,8 @@ sign_ephemeral_key () current_ekm.purpose.size = htonl (sizeof (struct GNUNET_CRYPTO_EccSignaturePurpose) + sizeof (struct GNUNET_TIME_AbsoluteNBO) + sizeof (struct GNUNET_TIME_AbsoluteNBO) + - sizeof (struct GNUNET_CRYPTO_EddsaPublicKey) + - sizeof (struct GNUNET_CRYPTO_EddsaPublicKey)); + sizeof (struct GNUNET_CRYPTO_EcdhePublicKey) + + sizeof (struct GNUNET_PeerIdentity)); current_ekm.creation_time = GNUNET_TIME_absolute_hton (GNUNET_TIME_absolute_get ()); if (GNUNET_YES == GNUNET_CONFIGURATION_get_value_yesno (GSC_cfg, -- 2.25.1