commit e460eef30231db889b0e8538e92f00a1efa0f191 from: Kirill A. Korinsky date: Mon Jun 2 19:56:31 2025 UTC Avoid implicit = in AR parser commit - 7a470599389f8d5f02cf133dfc80645e8dc44e0e commit + e460eef30231db889b0e8538e92f00a1efa0f191 blob - f7b6f05c44bafff3404895b5aa1ad330886ddcbb blob + 26c5f7a1bd0c765e5993e9fbaec66af7277add29 --- main.c +++ main.c @@ -1698,13 +1698,13 @@ dkim_ar_print(struct osmtpd_ctx *ctx, const char *star ncheckpoint, 0); arid = 0; /* methodspec */ - } else if (strncmp(ncheckpoint, "dkim", - sizeof("dkim") - 1) == 0) { + } else if (strncmp(ncheckpoint, "dkim=", + sizeof("dkim=") - 1) == 0) { ncheckpoint = osmtpd_ltok_skip_keyword( - ncheckpoint + sizeof("dkim"), 0); + ncheckpoint + sizeof("dkim=") - 1, 0); /* reasonspec */ - } else if (strncmp(ncheckpoint, "reason", - sizeof("reason") - 1) == 0) { + } else if (strncmp(ncheckpoint, "reason=", + sizeof("reason=") - 1) == 0) { ncheckpoint = osmtpd_ltok_skip_ar_reasonspec( ncheckpoint, 0); /* propspec */