diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-04 15:06:16 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-04 15:06:16 +0000 |
commit | e0a394fa37240c9a0b37d78c16d347e0a5b6c88e (patch) | |
tree | 046d44b18d158b84929f877140d79ebec323eef7 /src/util/crypto_ecc.c | |
parent | 9bdbd137ac0e95419782cf4d70bece01844e7e72 (diff) | |
download | gnunet-e0a394fa37240c9a0b37d78c16d347e0a5b6c88e.tar.gz gnunet-e0a394fa37240c9a0b37d78c16d347e0a5b6c88e.zip |
-note
Diffstat (limited to 'src/util/crypto_ecc.c')
-rw-r--r-- | src/util/crypto_ecc.c | 1 |
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, |