]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Improve log message
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 15 Jul 2020 10:22:13 +0000 (11:22 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 15 Jul 2020 10:22:13 +0000 (11:22 +0100)
src/libserver/dkim.c

index 390d3fb211494aa876ab0b0fed00cf4f3aac7474..cc7818330d73fffa97a04d26094ed1476a263566 100644 (file)
@@ -2654,7 +2654,7 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx,
 
                        msg_info_dkim (
                                        "%s: headers RSA verification failure; "
-                                       "body length %d->%d; headers length %d; d=%s; s=%s; key=%*xs; orig header: %s",
+                                       "body length %d->%d; headers length %d; d=%s; s=%s; key_md5=%*xs; orig header: %s",
                                        rspamd_dkim_type_to_string (ctx->common.type),
                                        (gint)(body_end - body_start), ctx->common.body_canonicalised,
                                        ctx->common.headers_canonicalised,
@@ -2668,7 +2668,7 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx,
                                key->key.key_ecdsa) != 1) {
                        msg_info_dkim (
                                        "%s: headers ECDSA verification failure; "
-                                       "body length %d->%d; headers length %d; d=%s; s=%s; key=%*xs; orig header: %s",
+                                       "body length %d->%d; headers length %d; d=%s; s=%s; key_md5=%*xs; orig header: %s",
                                        rspamd_dkim_type_to_string (ctx->common.type),
                                        (gint)(body_end - body_start), ctx->common.body_canonicalised,
                                        ctx->common.headers_canonicalised,
@@ -2685,7 +2685,7 @@ rspamd_dkim_check (rspamd_dkim_context_t *ctx,
                                key->key.key_eddsa, RSPAMD_CRYPTOBOX_MODE_25519)) {
                        msg_info_dkim (
                                        "%s: headers EDDSA verification failure; "
-                                       "body length %d->%d; headers length %d; d=%s; s=%s; key=%*xs; orig header: %s",
+                                       "body length %d->%d; headers length %d; d=%s; s=%s; key_md5=%*xs; orig header: %s",
                                        rspamd_dkim_type_to_string (ctx->common.type),
                                        (gint)(body_end - body_start), ctx->common.body_canonicalised,
                                        ctx->common.headers_canonicalised,