From f5d7449313757e4a7360d7ca48292ecc4647911b Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Tue, 26 May 2020 00:43:34 +0200 Subject: [PATCH] remove some debug --- src/revocation/revocation_api.c | 10 ---------- 1 file changed, 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; -- 2.25.1