2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 13:28:10 +00:00

digest_matches: actually use fd2 in place of fd as needed.

This commit is contained in:
Todd C. Miller 2023-09-26 11:51:10 -06:00
parent ff2d8464cf
commit 837f400ac8

View File

@ -63,6 +63,7 @@ digest_matches(int fd, const char *path,
/* No file, no match. */ /* No file, no match. */
goto done; goto done;
} }
fd = fd2;
} }
TAILQ_FOREACH(digest, digests, entries) { TAILQ_FOREACH(digest, digests, entries) {