Commit Briefs

6d309264f6 Kirill A. Korinsky

Do not treat ar_h_errno == NO_DATA as error (backport)

OpenBSD's asr returns ar_h_errno == NO_DATA when it had a fallback from UDP to TCP, so I should tolerate it as well.


ede84c7b5b Kirill A. Korinsky

Save DNS lookup for failed signatures


5ea05a0535 Kirill A. Korinsky

Abort unfinished DNS query inside free


3cb7796fe6 Kirill A. Korinsky

DKIM follow CNAME and improve logging.

RFC 6376 doesn't care about CNAME, anyway it exists in real world.


99a44a7b11 Kirill A. Korinsky

Remove useless auth_commit


b64f38ad2f Kirill A. Korinsky

System level errors should be fatal


ce4bcd1669 Kirill A. Korinsky

Add first up to 8 character of used hedaer.b into AR


2293aea125 Kirill A. Korinsky

prevent dkim_ar_cat from lose last character

It losed the last character when the length resulted string was multiple of 256


36daa2d4bb Kirill A. Korinsky

Never swallow an email with malformed AR header


e460eef302 Kirill A. Korinsky

Avoid implicit = in AR parser



1256d7a0bb Kirill A. Korinsky

Improve serialization of AR header

Here two fixes: (1) avoid loop when checkpoint starts from whitespace, and (2) avoid infintity loop on very long last field.


348f2e6357 Kirill A. Korinsky

Fix memory leak


f185a96d0f Kirill A. Korinsky

Never use duplicated header multiple times


7258013668 Martijn van Duren

Revert previous. It's too early to remove the guards just yet. (main)


736df1a6f7 Martijn van Duren

Remove HAVE_ED25519 now that we have ED25519 in LibreSSL


3082f0981a Martijn van Duren

Handle spaces in key-p-tag correctly.

Reported by Mischa Peters.


b8958f33de Martijn van Duren

Make sure osmtpd_ltok_skip_hexdig doesn't derefences NULL


b5876c8488 Martijn van Duren

opensmtpd.h should be taken from standard include path


0c6a08e109 Martijn van Duren

Remove assert. Shouldn't be in production code


b33805296f Martijn van Duren

Put pklen and tmp in #ifdef HAVE_ED25519



2732fb68df Martijn van Duren

Apparently I broke RSA in previous commit


338537df4f Martijn van Duren

Add support for ed25519


7847bd6699 Martijn van Duren

Domains are case insensitive.

Keep that in mind when comparing i- and d-tag