aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/gnunet-service-revocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r--src/revocation/gnunet-service-revocation.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index 3e811cd9a..ff75faa2c 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -167,8 +167,11 @@ new_peer_entry (const struct GNUNET_PeerIdentity *peer)
167static int 167static int
168verify_revoke_message (const struct RevokeMessage *rm) 168verify_revoke_message (const struct RevokeMessage *rm)
169{ 169{
170 struct GNUNET_TIME_Absolute ts;
171 ts = GNUNET_TIME_absolute_ntoh (rm->ts);
170 if (GNUNET_YES != 172 if (GNUNET_YES !=
171 GNUNET_REVOCATION_check_pow (&rm->public_key, 173 GNUNET_REVOCATION_check_pow (&rm->public_key,
174 &ts,
172 rm->proof_of_work, 175 rm->proof_of_work,
173 (unsigned int) revocation_work_required)) 176 (unsigned int) revocation_work_required))
174 { 177 {