From: Vsevolod Stakhov Date: Tue, 19 Feb 2019 11:30:58 +0000 (+0000) Subject: [Minor] Another fix to dkim keys format detection logic X-Git-Tag: 1.9.0~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=085f1f791271d83e672029f1984ee8c54875739f;p=thirdparty%2Frspamd.git [Minor] Another fix to dkim keys format detection logic --- diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index 8025e421a8..b7e9e53eee 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; - } }