From 82242cae3bb6313ee10df20570e4c14627828033 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 26 Feb 2017 23:39:29 +0100 Subject: add validation for inner consensus element The nested block validation requires the block context, and thus the evaluate callback not also receives the block context. --- src/dns/plugin_block_dns.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dns') diff --git a/src/dns/plugin_block_dns.c b/src/dns/plugin_block_dns.c index fe416e450..ca6ea84c4 100644 --- a/src/dns/plugin_block_dns.c +++ b/src/dns/plugin_block_dns.c @@ -93,6 +93,7 @@ block_plugin_dns_create_group (void *cls, * request evaluation, simply pass "NULL" for the reply_block. * * @param cls closure + * @param ctx block context * @param type block type * @param bg group to evaluate against * @param eo control flags @@ -105,6 +106,7 @@ block_plugin_dns_create_group (void *cls, */ static enum GNUNET_BLOCK_EvaluationResult block_plugin_dns_evaluate (void *cls, + struct GNUNET_BLOCK_Context *ctx, enum GNUNET_BLOCK_Type type, struct GNUNET_BLOCK_Group *bg, enum GNUNET_BLOCK_EvaluationOptions eo, -- cgit v1.2.3