diff --git a/plugins/sudoers/match.c b/plugins/sudoers/match.c index 47ee4cc0d..93dd8eede 100644 --- a/plugins/sudoers/match.c +++ b/plugins/sudoers/match.c @@ -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