Fix from HEAD.
This commit is contained in:
parent
2bf4b96aef
commit
3562202306
1 changed files with 2 additions and 2 deletions
|
@ -203,7 +203,7 @@ static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs,
|
|||
else
|
||||
{
|
||||
any_skip--;
|
||||
if ((cache->any_skip > 0)
|
||||
if ((cache->any_skip >= 0)
|
||||
&& (cache->any_skip < any_skip))
|
||||
any_skip = cache->any_skip;
|
||||
}
|
||||
|
@ -213,7 +213,7 @@ static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs,
|
|||
else
|
||||
{
|
||||
map_skip--;
|
||||
if ((cache->map_skip > 0)
|
||||
if ((cache->map_skip >= 0)
|
||||
&& (cache->map_skip < map_skip))
|
||||
map_skip = cache->map_skip;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue