aboutsummaryrefslogtreecommitdiff
path: root/src/regex/plugin_block_regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/plugin_block_regex.c')
-rw-r--r--src/regex/plugin_block_regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/plugin_block_regex.c b/src/regex/plugin_block_regex.c
index 0897641d5..3d7b97725 100644
--- a/src/regex/plugin_block_regex.c
+++ b/src/regex/plugin_block_regex.c
@@ -174,7 +174,7 @@ evaluate_block_regex_accept (void *cls, enum GNUNET_BLOCK_Type type,
174 if (ntohl (rba->purpose.size) != 174 if (ntohl (rba->purpose.size) !=
175 sizeof (struct GNUNET_CRYPTO_EccSignaturePurpose) + 175 sizeof (struct GNUNET_CRYPTO_EccSignaturePurpose) +
176 sizeof (struct GNUNET_TIME_AbsoluteNBO) + 176 sizeof (struct GNUNET_TIME_AbsoluteNBO) +
177 sizeof (struct GNUNET_HashCode)) 177 sizeof (struct GNUNET_HashCode))
178 { 178 {
179 GNUNET_break_op(0); 179 GNUNET_break_op(0);
180 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; 180 return GNUNET_BLOCK_EVALUATION_RESULT_INVALID;
@@ -184,7 +184,7 @@ evaluate_block_regex_accept (void *cls, enum GNUNET_BLOCK_Type type,
184 /* technically invalid, but can happen without an error, so 184 /* technically invalid, but can happen without an error, so
185 we're nice by reporting it as a 'duplicate' */ 185 we're nice by reporting it as a 'duplicate' */
186 return GNUNET_BLOCK_EVALUATION_OK_DUPLICATE; 186 return GNUNET_BLOCK_EVALUATION_OK_DUPLICATE;
187 } 187 }
188 if (GNUNET_OK != 188 if (GNUNET_OK !=
189 GNUNET_CRYPTO_ecc_verify (GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT, 189 GNUNET_CRYPTO_ecc_verify (GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT,
190 &rba->purpose, 190 &rba->purpose,