aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parente54d6f691dc71cd428e33f770a68a3224ba5c31f (diff)
downloadgnunet-f5d7449313757e4a7360d7ca48292ecc4647911b.tar.gz
gnunet-f5d7449313757e4a7360d7ca48292ecc4647911b.zip
remove some debug
Diffstat (limited to 'src')
-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,
435 + sizeof (struct GNUNET_TIME_AbsoluteNBO) 435 + sizeof (struct GNUNET_TIME_AbsoluteNBO)
436 + sizeof (uint64_t)] GNUNET_ALIGN; 436 + sizeof (uint64_t)] GNUNET_ALIGN;
437 struct GNUNET_REVOCATION_SignaturePurposePS spurp; 437 struct GNUNET_REVOCATION_SignaturePurposePS spurp;
438 struct GNUNET_CRYPTO_HashAsciiEncoded h_str;
439 struct GNUNET_HashCode result; 438 struct GNUNET_HashCode result;
440 struct GNUNET_TIME_Absolute ts; 439 struct GNUNET_TIME_Absolute ts;
441 struct GNUNET_TIME_Absolute exp; 440 struct GNUNET_TIME_Absolute exp;
@@ -492,15 +491,6 @@ GNUNET_REVOCATION_check_pow (const struct GNUNET_REVOCATION_PowP *pow,
492 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 491 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
493 "Score %u with %" PRIu64 " (#%u)\n", 492 "Score %u with %" PRIu64 " (#%u)\n",
494 tmp_score, pow_val, i); 493 tmp_score, pow_val, i);
495 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
496 "First byte: %x\n",
497 ((char*)&result)[0] & 0xff);
498
499
500 GNUNET_CRYPTO_hash_to_enc (&result,
501 &h_str);
502 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
503 "Hash: %s\n", (char*)&h_str);
504 494
505 score += tmp_score; 495 score += tmp_score;
506 496