diff options
Diffstat (limited to 'src/gns/plugin_block_gns.c')
-rw-r--r-- | src/gns/plugin_block_gns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/plugin_block_gns.c b/src/gns/plugin_block_gns.c index 1f27cb04e..86d45b9fe 100644 --- a/src/gns/plugin_block_gns.c +++ b/src/gns/plugin_block_gns.c | |||
@@ -153,7 +153,7 @@ block_plugin_gns_evaluate (void *cls, | |||
153 | GNUNET_CRYPTO_hash (&block->derived_key, | 153 | GNUNET_CRYPTO_hash (&block->derived_key, |
154 | sizeof (block->derived_key), | 154 | sizeof (block->derived_key), |
155 | &h); | 155 | &h); |
156 | if (0 != memcmp (&h, query, sizeof (struct GNUNET_HashCode))) | 156 | if (0 != GNUNET_memcmp (&h, query)) |
157 | { | 157 | { |
158 | GNUNET_break_op (0); | 158 | GNUNET_break_op (0); |
159 | return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; | 159 | return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; |