vici: Have an explicit "relaxed" keyword for the default revocation policy
This commit is contained in:
@@ -1025,12 +1025,16 @@ CALLBACK(parse_revocation, bool,
|
|||||||
enum_map_t map[] = {
|
enum_map_t map[] = {
|
||||||
{ "strict", VALIDATION_GOOD },
|
{ "strict", VALIDATION_GOOD },
|
||||||
{ "ifuri", VALIDATION_SKIPPED },
|
{ "ifuri", VALIDATION_SKIPPED },
|
||||||
|
{ "relaxed", VALIDATION_FAILED },
|
||||||
};
|
};
|
||||||
int d;
|
int d;
|
||||||
|
|
||||||
if (parse_map(map, countof(map), &d, v))
|
if (parse_map(map, countof(map), &d, v))
|
||||||
{
|
{
|
||||||
cfg->add(cfg, AUTH_RULE_CRL_VALIDATION, d);
|
if (d != VALIDATION_FAILED)
|
||||||
|
{
|
||||||
|
cfg->add(cfg, AUTH_RULE_CRL_VALIDATION, d);
|
||||||
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|||||||
Reference in New Issue
Block a user