From 11ae9f030e13d07c505a4d5477d592ddb4b3acf6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 8 Apr 2020 16:56:33 +0200 Subject: fix sign api for to address #6164 --- src/regex/plugin_block_regex.c | 8 ++++---- src/regex/regex_internal_dht.c | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/regex') diff --git a/src/regex/plugin_block_regex.c b/src/regex/plugin_block_regex.c index 9c7aa9119..c087abae9 100644 --- a/src/regex/plugin_block_regex.c +++ b/src/regex/plugin_block_regex.c @@ -247,10 +247,10 @@ evaluate_block_regex_accept (void *cls, return GNUNET_BLOCK_EVALUATION_OK_DUPLICATE; } if (GNUNET_OK != - GNUNET_CRYPTO_eddsa_verify (GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT, - &rba->purpose, - &rba->signature, - &rba->peer.public_key)) + GNUNET_CRYPTO_eddsa_verify_ (GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT, + &rba->purpose, + &rba->signature, + &rba->peer.public_key)) { GNUNET_break_op (0); return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; diff --git a/src/regex/regex_internal_dht.c b/src/regex/regex_internal_dht.c index 3cf48f3c2..d2c69f131 100644 --- a/src/regex/regex_internal_dht.c +++ b/src/regex/regex_internal_dht.c @@ -136,9 +136,9 @@ regex_iterator (void *cls, GNUNET_CRYPTO_eddsa_key_get_public (h->priv, &ab.peer.public_key); GNUNET_assert (GNUNET_OK == - GNUNET_CRYPTO_eddsa_sign (h->priv, - &ab.purpose, - &ab.signature)); + GNUNET_CRYPTO_eddsa_sign_ (h->priv, + &ab.purpose, + &ab.signature)); GNUNET_STATISTICS_update (h->stats, "# regex accepting blocks stored", 1, GNUNET_NO); -- cgit v1.2.3