aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSree Harsha Totakura <sreeharsha@totakura.in>2015-01-22 16:26:53 +0100
committerSree Harsha Totakura <sreeharsha@totakura.in>2015-01-22 16:26:53 +0100
commit734fd0aa2ef46a718dcddf73fa45b898535b9756 (patch)
tree91d5c949a9df77c37ba0b2a6d2367762d34de455 /src
parentacee974c0628f62e2305d072d31038ab8c21a131 (diff)
-remove unused and misleading hash operation
Diffstat (limited to 'src')
-rw-r--r--src/util/rsa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/rsa.c b/src/util/rsa.c
index d85f3cc86..866aeb044 100644
--- a/src/util/rsa.c
+++ b/src/util/rsa.c
@@ -765,7 +765,6 @@ TALER_RSA_message_blind (const void *msg, size_t size,
struct TALER_RSA_PublicKeyBinaryEncoded *pkey)
{
struct TALER_RSA_BlindedSignaturePurpose *bsp;
- struct GNUNET_HashCode hash;
gcry_sexp_t psexp;
gcry_mpi_t data;
gcry_mpi_t skey[2];
@@ -792,7 +791,6 @@ TALER_RSA_message_blind (const void *msg, size_t size,
gcry_sexp_release (psexp);
psexp = NULL;
GNUNET_assert (0 == ret);
- GNUNET_CRYPTO_hash (msg, size, &hash);
if (0 != (rc=gcry_mpi_scan (&data, GCRYMPI_FMT_USG,
(const unsigned char *) msg, size, &rsize)))
{