aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-19 11:30:58 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-19 11:30:58 +0000
commit085f1f791271d83e672029f1984ee8c54875739f (patch)
tree70dd3170be514e12498bda2a6f5d0eb6e7c04755 /src
parent01073ffc93bb5ac6578590900c50645a5c48126c (diff)
downloadrspamd-085f1f791271d83e672029f1984ee8c54875739f.tar.gz
rspamd-085f1f791271d83e672029f1984ee8c54875739f.zip
[Minor] Another fix to dkim keys format detection logic
Diffstat (limited to 'src')
-rw-r--r--src/plugins/dkim_check.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c
index 8025e421a..b7e9e53ee 100644
--- a/src/plugins/dkim_check.c
+++ b/src/plugins/dkim_check.c
@@ -678,9 +678,6 @@ dkim_module_load_key_format (struct rspamd_task *task,
else if (rspamd_cryptobox_base64_is_valid (key, keylen)) {
key_format = RSPAMD_DKIM_KEY_BASE64;
}
- else {
- key_format = RSPAMD_DKIM_KEY_RAW;
- }
}