output error message if maximum ca path length is reached
This commit is contained in:
1 parent
eafc0654ca
commit
a92ea0ccb3
1 file changed
+4
@@ -938,6 +938,10 @@ static bool verify_trust_chain(private_credential_manager_t *this,
|
||||
}
|
||||
}
|
||||
current->destroy(current);
|
||||
if (level > MAX_CA_LEVELS)
|
||||
{
|
||||
DBG1(DBG_CFG, "maximum ca path length of %d levels reached", level);
|
||||
}
|
||||
if (trusted)
|
||||
{
|
||||
result->merge(result, auth);
|
||||
|
||||
Reference in new issue
Block a user