output error message if maximum ca path length is reached
This commit is contained in:
@@ -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