aboutsummaryrefslogtreecommitdiff
path: root/src/block
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-10-27 09:27:40 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-10-27 09:27:40 +0000
commitc279ce86d89efd55f9b9019690aa0a15d89ccfc7 (patch)
treee76e127efe53f267a81d369d2a9ae737ad028131 /src/block
parent8a7272d68a0e06dd0b5de7f880246a56b5cab4bf (diff)
downloadgnunet-c279ce86d89efd55f9b9019690aa0a15d89ccfc7.tar.gz
gnunet-c279ce86d89efd55f9b9019690aa0a15d89ccfc7.zip
Refactoring GNUNET_time
Diffstat (limited to 'src/block')
-rw-r--r--src/block/plugin_block_dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/plugin_block_dns.c b/src/block/plugin_block_dns.c
index 205cff4b8..338e07dc2 100644
--- a/src/block/plugin_block_dns.c
+++ b/src/block/plugin_block_dns.c
@@ -74,7 +74,7 @@ block_plugin_dns_evaluate (void *cls,
74 if (ntohl(rec->purpose.size) != sizeof(struct GNUNET_DNS_Record) - sizeof(struct GNUNET_CRYPTO_RsaSignature)) 74 if (ntohl(rec->purpose.size) != sizeof(struct GNUNET_DNS_Record) - sizeof(struct GNUNET_CRYPTO_RsaSignature))
75 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; 75 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID;
76 76
77 if (GNUNET_TIME_relative_get_zero().value == GNUNET_TIME_absolute_get_remaining(rec->expiration_time).value) 77 if (GNUNET_TIME_relative_get_zero().rel_value == GNUNET_TIME_absolute_get_remaining(rec->expiration_time).rel_value)
78 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; 78 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID;
79 79
80 if (GNUNET_OK != GNUNET_CRYPTO_rsa_verify (htonl(GNUNET_SIGNATURE_PURPOSE_DNS_RECORD), 80 if (GNUNET_OK != GNUNET_CRYPTO_rsa_verify (htonl(GNUNET_SIGNATURE_PURPOSE_DNS_RECORD),