gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r13416 - gnunet/src/block


From: gnunet
Subject: [GNUnet-SVN] r13416 - gnunet/src/block
Date: Wed, 27 Oct 2010 11:27:40 +0200

Author: wachs
Date: 2010-10-27 11:27:40 +0200 (Wed, 27 Oct 2010)
New Revision: 13416

Modified:
   gnunet/src/block/plugin_block_dns.c
Log:
Refactoring GNUNET_time


Modified: gnunet/src/block/plugin_block_dns.c
===================================================================
--- gnunet/src/block/plugin_block_dns.c 2010-10-27 09:26:58 UTC (rev 13415)
+++ gnunet/src/block/plugin_block_dns.c 2010-10-27 09:27:40 UTC (rev 13416)
@@ -74,7 +74,7 @@
     if (ntohl(rec->purpose.size) != sizeof(struct GNUNET_DNS_Record) - 
sizeof(struct GNUNET_CRYPTO_RsaSignature))
       return GNUNET_BLOCK_EVALUATION_RESULT_INVALID;
 
-    if (GNUNET_TIME_relative_get_zero().value == 
GNUNET_TIME_absolute_get_remaining(rec->expiration_time).value)
+    if (GNUNET_TIME_relative_get_zero().rel_value == 
GNUNET_TIME_absolute_get_remaining(rec->expiration_time).rel_value)
       return GNUNET_BLOCK_EVALUATION_RESULT_INVALID;
 
     if (GNUNET_OK != GNUNET_CRYPTO_rsa_verify 
(htonl(GNUNET_SIGNATURE_PURPOSE_DNS_RECORD),




reply via email to

[Prev in Thread] Current Thread [Next in Thread]