Add stub definition of digest_matches() for SUDOERS_NAME_MATCH

This commit is contained in:
Todd C. Miller
2019-02-06 13:12:33 -07:00
parent 694999487b
commit bc25915050

View File

@@ -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