diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-15 15:06:10 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-02-15 15:06:10 +0000 |
commit | 48da0cd7d04801fb0bb728ac5675e3c468573005 (patch) | |
tree | 7be64e737c838bc475856c8bc5c89a69671cf884 | |
parent | 91f9cc1c3ee74f41c892fa95372991a8c9eebf54 (diff) | |
download | rspamd-48da0cd7d04801fb0bb728ac5675e3c468573005.tar.gz rspamd-48da0cd7d04801fb0bb728ac5675e3c468573005.zip |
[Minor] Style fix
-rw-r--r-- | src/libserver/dkim.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/libserver/dkim.c b/src/libserver/dkim.c index faa4a78f4..55a874e32 100644 --- a/src/libserver/dkim.c +++ b/src/libserver/dkim.c @@ -1371,8 +1371,9 @@ rspamd_dkim_make_key (const gchar *keydata, g_set_error (err, DKIM_ERROR, DKIM_SIGERROR_KEYFAIL, - "DKIM key is has invalid length %d for eddsa", - (gint)key->decoded_len); + "DKIM key is has invalid length %d for eddsa; expected %d", + (gint)key->decoded_len, + rspamd_cryptobox_pk_sig_bytes (RSPAMD_CRYPTOBOX_MODE_25519)); REF_RELEASE (key); return NULL; @@ -2317,11 +2318,11 @@ rspamd_dkim_canonize_header_relaxed (struct rspamd_dkim_common_ctx *ctx, static gboolean rspamd_dkim_canonize_header (struct rspamd_dkim_common_ctx *ctx, - struct rspamd_task *task, - const gchar *header_name, - gint count, - const gchar *dkim_header, - const gchar *dkim_domain) + struct rspamd_task *task, + const gchar *header_name, + gint count, + const gchar *dkim_header, + const gchar *dkim_domain) { struct rspamd_mime_header *rh, *cur, *sel = NULL; gint hdr_cnt = 0; |