aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-04 15:06:16 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-04 15:06:16 +0000
commite0a394fa37240c9a0b37d78c16d347e0a5b6c88e (patch)
tree046d44b18d158b84929f877140d79ebec323eef7 /src/util
parent9bdbd137ac0e95419782cf4d70bece01844e7e72 (diff)
downloadgnunet-e0a394fa37240c9a0b37d78c16d347e0a5b6c88e.tar.gz
gnunet-e0a394fa37240c9a0b37d78c16d347e0a5b6c88e.zip
-note
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto_ecc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c
index 4b3158c8a..c89ac6904 100644
--- a/src/util/crypto_ecc.c
+++ b/src/util/crypto_ecc.c
@@ -884,6 +884,7 @@ GNUNET_CRYPTO_ecc_ecdh (const struct GNUNET_CRYPTO_EccPrivateKey *priv,
884 } 884 }
885 gcry_mpi_point_release (result); 885 gcry_mpi_point_release (result);
886 gcry_ctx_release (ctx); 886 gcry_ctx_release (ctx);
887 /* FIXME: only use 'result_x' as key material */
887 if (0 != (rc = gcry_sexp_build (&ecdh_sexp, NULL, 888 if (0 != (rc = gcry_sexp_build (&ecdh_sexp, NULL,
888 "(dh-shared-secret (x %m)(y %m))", 889 "(dh-shared-secret (x %m)(y %m))",
889 result_x, 890 result_x,