]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Another fix to dkim keys format detection logic
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 Feb 2019 11:30:58 +0000 (11:30 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 Feb 2019 11:30:58 +0000 (11:30 +0000)
src/plugins/dkim_check.c

index 8025e421a86aed04fe1b68a2040d5db14f63cd10..b7e9e53eee0d403e4b0e27544f24b977b280f136 100644 (file)
@@ -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;
-               }
        }