aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
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,