diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-10 16:06:16 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-10 16:06:30 +0000 |
commit | f9eb3b97eb2a308685aac5d5e538e1cc85c3c839 (patch) | |
tree | 3c45b8ff6ad06bcd946f8061fafd63c1b5f7288d /src/libserver/dkim.c | |
parent | 087dcad963c1e39f9cbeb7d6d166de33eccf62ce (diff) | |
download | rspamd-f9eb3b97eb2a308685aac5d5e538e1cc85c3c839.tar.gz rspamd-f9eb3b97eb2a308685aac5d5e538e1cc85c3c839.zip |
[Minor] Remove some unused variables
Diffstat (limited to 'src/libserver/dkim.c')
-rw-r--r-- | src/libserver/dkim.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c index 4ef2ad122..9254443ba 100644 --- a/src/libserver/dkim.c +++ b/src/libserver/dkim.c @@ -1800,7 +1800,7 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx, rspamd_dkim_key_t *key, struct rspamd_task *task) { - const gchar *p, *body_end, *body_start; + const gchar *body_end, *body_start; guchar raw_digest[EVP_MAX_MD_SIZE]; EVP_MD_CTX *cpy_ctx; gsize dlen; @@ -1814,7 +1814,6 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx, g_return_val_if_fail (task->msg.len > 0, DKIM_ERROR); /* First of all find place of body */ - p = task->msg.begin; body_end = task->msg.begin + task->msg.len; body_start = task->raw_headers_content.body_start; @@ -2161,7 +2160,7 @@ rspamd_dkim_sign (struct rspamd_task *task, { GString *hdr; struct rspamd_dkim_header *dh; - const gchar *p, *body_end, *body_start; + const gchar *body_end, *body_start; guchar raw_digest[EVP_MAX_MD_SIZE]; gsize dlen; guint i, j; @@ -2172,7 +2171,6 @@ rspamd_dkim_sign (struct rspamd_task *task, g_assert (ctx != NULL); /* First of all find place of body */ - p = task->msg.begin; body_end = task->msg.begin + task->msg.len; body_start = task->raw_headers_content.body_start; |