Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Properly load /revoked fingerprints
Bryan Drewery committed 12 years ago
commit c1f76f9b943365ebaceea686faae5f0b8b7a1642
parent 2753e9a
1 file changed +2 -1
modified libpkg/update.c
@@ -361,8 +361,9 @@ repo_archive_extract_file(int fd, const char *file, const char *dest, struct pkg

		/* load fingerprints */
		snprintf(path, MAXPATHLEN, "%s/trusted", pkg_repo_fingerprints(repo));
-

		trusted = load_fingerprints(path);
+

+
		snprintf(path, MAXPATHLEN, "%s/revoked", pkg_repo_fingerprints(repo));
		revoked = load_fingerprints(path);

		if (HASH_COUNT(trusted) == 0) {