Add stub definition of digest_matches() for SUDOERS_NAME_MATCH
This commit is contained in:
@@ -816,6 +816,16 @@ command_matches_normal(const char *sudoers_cmnd, const char *sudoers_args, const
|
||||
}
|
||||
debug_return_bool(false);
|
||||
}
|
||||
|
||||
static bool
|
||||
digest_matches(int fd, const char *file, const struct command_digest *digest)
|
||||
{
|
||||
debug_decl(digest_matches, SUDOERS_DEBUG_MATCH)
|
||||
|
||||
/* Digests are not supported when matching only by name. */
|
||||
|
||||
debug_return_bool(false);
|
||||
}
|
||||
#else /* !SUDOERS_NAME_MATCH */
|
||||
|
||||
static bool
|
||||
|
Reference in New Issue
Block a user