diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-08 12:04:46 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-08 12:04:46 +0000 |
commit | 2ff32e98347f9e44136a8f7793dc34906b967937 (patch) | |
tree | d8b4010b808db8f8bee39c43324a3c8e87ad60b8 /src/util/crypto_ecc.c | |
parent | c2d9e5e36c97737707f4063749c87c5f02c87cb4 (diff) | |
download | gnunet-2ff32e98347f9e44136a8f7793dc34906b967937.tar.gz gnunet-2ff32e98347f9e44136a8f7793dc34906b967937.zip |
-fix #3095
Diffstat (limited to 'src/util/crypto_ecc.c')
-rw-r--r-- | src/util/crypto_ecc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c index 1fd41b327..73e763d9a 100644 --- a/src/util/crypto_ecc.c +++ b/src/util/crypto_ecc.c | |||
@@ -1437,9 +1437,7 @@ GNUNET_CRYPTO_ecc_ecdh (const struct GNUNET_CRYPTO_EcdhePrivateKey *priv, | |||
1437 | GNUNET_assert (0 == | 1437 | GNUNET_assert (0 == |
1438 | gcry_mpi_print (GCRYMPI_FMT_STD, xbuf, rsize, &rsize, | 1438 | gcry_mpi_print (GCRYMPI_FMT_STD, xbuf, rsize, &rsize, |
1439 | result_x)); | 1439 | result_x)); |
1440 | GNUNET_assert (rsize == sizeof (xbuf)); | 1440 | GNUNET_CRYPTO_hash (xbuf, rsize, key_material); |
1441 | mpi_print (xbuf, sizeof (xbuf), result_x); | ||
1442 | GNUNET_CRYPTO_hash (xbuf, sizeof (xbuf), key_material); | ||
1443 | gcry_mpi_release (result_x); | 1441 | gcry_mpi_release (result_x); |
1444 | return GNUNET_OK; | 1442 | return GNUNET_OK; |
1445 | } | 1443 | } |