diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-04-08 16:23:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-04-08 16:23:57 +0100 |
commit | 201f4fdeb20444ccf6dd5474d596cf6227badb37 (patch) | |
tree | 38117b8950b34d4a3394848d5062f09ce2dd3059 /src/libserver/dkim.h | |
parent | 508f85e07f5725778455e5f6c7cab6646c5ce781 (diff) | |
download | rspamd-201f4fdeb20444ccf6dd5474d596cf6227badb37.tar.gz rspamd-201f4fdeb20444ccf6dd5474d596cf6227badb37.zip |
[Minor] Log key id on DKIM failures
Diffstat (limited to 'src/libserver/dkim.h')
-rw-r--r-- | src/libserver/dkim.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libserver/dkim.h b/src/libserver/dkim.h index adc68403a..6245dc512 100644 --- a/src/libserver/dkim.h +++ b/src/libserver/dkim.h @@ -269,6 +269,13 @@ rspamd_dkim_key_t *rspamd_dkim_make_key (const gchar *keydata, guint keylen, GError **err); /** + * Returns key id for dkim key (first 7 bytes of base64 representation) + * @param key + * @return + */ +const gchar *rspamd_dkim_key_id (rspamd_dkim_key_t *key); + +/** * Parse DKIM public key from a TXT record * @param txt * @param keylen |