From: Martin Schanzenbach Date: Mon, 25 May 2020 22:43:34 +0000 (+0200) Subject: remove some debug X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f5d7449313757e4a7360d7ca48292ecc4647911b;p=oweals%2Fgnunet.git remove some debug --- 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;