Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failed signatures with multiple transitions #173

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions openarc/openarc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3673,14 +3673,15 @@ mlfi_eom(SMFICTX *ctx)
arfound += 1;
if (arfound > 1)
{
arc_set_cv(afc->mctx_arcmsg,
ARC_CHAIN_FAIL);

/* Assume that AR headers are being processed by
* the most recent first. If a message is transitioning
* between multiple systems in the same authserv-id then
* use the most recent one and skip the rest. */
if (conf->conf_dolog)
{
syslog(LOG_INFO,
"%s: chain state forced to \"fail\" due to multiple results present",
afc->mctx_jobid);
"%s: ignoring earlier authentication-results %s in same authserv-id",
afc->mctx_jobid, ares_getresult(ar.ares_result[n].result_result));
}

continue;
Expand Down