From 085f1f791271d83e672029f1984ee8c54875739f Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 19 Feb 2019 11:30:58 +0000 Subject: [PATCH] [Minor] Another fix to dkim keys format detection logic --- src/plugins/dkim_check.c | 3 --- 1 file changed, 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; - } } -- 2.39.5