summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-05-26 00:43:34 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-05-26 00:43:34 +0200
commitf5d7449313757e4a7360d7ca48292ecc4647911b (patch)
tree9c7aa7011eea5f760e6dda0f00bf9dbe44f3b78c
parente54d6f691dc71cd428e33f770a68a3224ba5c31f (diff)
remove some debug
-rw-r--r--src/revocation/revocation_api.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/revocation/revocation_api.c b/src/revocation/revocation_api.c
index 24e9766ad..2ae8e2df9 100644
--- a/src/revocation/revocation_api.c
+++ b/src/revocation/revocation_api.c
@@ -435,7 +435,6 @@ GNUNET_REVOCATION_check_pow (const struct GNUNET_REVOCATION_PowP *pow,
+ sizeof (struct GNUNET_TIME_AbsoluteNBO)
+ sizeof (uint64_t)] GNUNET_ALIGN;
struct GNUNET_REVOCATION_SignaturePurposePS spurp;
- struct GNUNET_CRYPTO_HashAsciiEncoded h_str;
struct GNUNET_HashCode result;
struct GNUNET_TIME_Absolute ts;
struct GNUNET_TIME_Absolute exp;
@@ -492,15 +491,6 @@ GNUNET_REVOCATION_check_pow (const struct GNUNET_REVOCATION_PowP *pow,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Score %u with %" PRIu64 " (#%u)\n",
tmp_score, pow_val, i);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "First byte: %x\n",
- ((char*)&result)[0] & 0xff);
-
-
- GNUNET_CRYPTO_hash_to_enc (&result,
- &h_str);
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Hash: %s\n", (char*)&h_str);
score += tmp_score;