aboutsummaryrefslogtreecommitdiff
path: root/src/dns/plugin_block_dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns/plugin_block_dns.c')
-rw-r--r--src/dns/plugin_block_dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dns/plugin_block_dns.c b/src/dns/plugin_block_dns.c
index a8846944e..fd76d0ce0 100644
--- a/src/dns/plugin_block_dns.c
+++ b/src/dns/plugin_block_dns.c
@@ -76,7 +76,7 @@ block_plugin_dns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
76 76
77 if (ntohl (ad->purpose.size) != 77 if (ntohl (ad->purpose.size) !=
78 sizeof (struct GNUNET_DNS_Advertisement) - 78 sizeof (struct GNUNET_DNS_Advertisement) -
79 sizeof (struct GNUNET_CRYPTO_EccSignature)) 79 sizeof (struct GNUNET_CRYPTO_EddsaSignature))
80 { 80 {
81 GNUNET_break_op (0); 81 GNUNET_break_op (0);
82 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; 82 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID;
@@ -90,7 +90,7 @@ block_plugin_dns_evaluate (void *cls, enum GNUNET_BLOCK_Type type,
90 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; 90 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID;
91 } 91 }
92 if (GNUNET_OK != 92 if (GNUNET_OK !=
93 GNUNET_CRYPTO_ecc_verify (GNUNET_SIGNATURE_PURPOSE_DNS_RECORD, 93 GNUNET_CRYPTO_eddsa_verify (GNUNET_SIGNATURE_PURPOSE_DNS_RECORD,
94 &ad->purpose, 94 &ad->purpose,
95 &ad->signature, 95 &ad->signature,
96 &ad->peer.public_key)) 96 &ad->peer.public_key))