Skip to content

Commit

Permalink
secgsi: fix for issue #465 (Absent CRL is not an error)
Browse files Browse the repository at this point in the history
  • Loading branch information
gganis committed Feb 21, 2017
1 parent c725bfc commit 106f019
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/XrdSecgsi/XrdSecProtocolgsi.cc
Expand Up @@ -4406,8 +4406,12 @@ int XrdSecProtocolgsi::GetCA(const char *cahash,
// Good CA
DEBUG("CRL successfully loaded");
} else {
ok = 0;
NOTIFY("CRL is missing or expired (CRLCheck: "<<CRLCheck<<")");
String em = "ignoring";
if (CRLCheck >= 2) {
ok = 0;
em = "failing";
}
NOTIFY("CRL is missing or expired: "<<em<<" (CRLCheck: "<<CRLCheck<<")");
}
}
}
Expand Down

0 comments on commit 106f019

Please sign in to comment.