aboutsummaryrefslogtreecommitdiff
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
parentacee974c0628f62e2305d072d31038ab8c21a131 (diff)
downloadexchange-734fd0aa2ef46a718dcddf73fa45b898535b9756.tar.gz
exchange-734fd0aa2ef46a718dcddf73fa45b898535b9756.zip
-remove unused and misleading hash operation
-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,
765 struct TALER_RSA_PublicKeyBinaryEncoded *pkey) 765 struct TALER_RSA_PublicKeyBinaryEncoded *pkey)
766{ 766{
767 struct TALER_RSA_BlindedSignaturePurpose *bsp; 767 struct TALER_RSA_BlindedSignaturePurpose *bsp;
768 struct GNUNET_HashCode hash;
769 gcry_sexp_t psexp; 768 gcry_sexp_t psexp;
770 gcry_mpi_t data; 769 gcry_mpi_t data;
771 gcry_mpi_t skey[2]; 770 gcry_mpi_t skey[2];
@@ -792,7 +791,6 @@ TALER_RSA_message_blind (const void *msg, size_t size,
792 gcry_sexp_release (psexp); 791 gcry_sexp_release (psexp);
793 psexp = NULL; 792 psexp = NULL;
794 GNUNET_assert (0 == ret); 793 GNUNET_assert (0 == ret);
795 GNUNET_CRYPTO_hash (msg, size, &hash);
796 if (0 != (rc=gcry_mpi_scan (&data, GCRYMPI_FMT_USG, 794 if (0 != (rc=gcry_mpi_scan (&data, GCRYMPI_FMT_USG,
797 (const unsigned char *) msg, size, &rsize))) 795 (const unsigned char *) msg, size, &rsize)))
798 { 796 {