commit 085f1f7: [Minor] Another fix to dkim keys format detection logic

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Feb 19 11:35:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-02-19 11:30:58 +0000
URL: https://github.com/rspamd/rspamd/commit/085f1f791271d83e672029f1984ee8c54875739f (HEAD -> master)

[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;
-		}
 	}
 
 


More information about the Commits mailing list