Lines Matching defs:trusted
725 struct fingerprint_list *trusted, *revoked;
738 trusted = revoked = NULL;
755 snprintf(path, MAXPATHLEN, "%s/trusted", fingerprints);
756 if ((trusted = load_fingerprints(path, &trusted_count)) == NULL) {
757 warnx("Error loading trusted certificates");
761 if (trusted_count == 0 || trusted == NULL) {
762 fprintf(stderr, "No trusted certificates found.\n");
777 /* Explicitly mark as non-trusted until proven otherwise. */
778 sc->trusted = false;
795 STAILQ_FOREACH(fingerprint, trusted, next) {
797 sc->trusted = true;
803 if (sc->trusted == false) {
804 fprintf(stderr, "No trusted fingerprint found matching "
815 printf("Verifying signature with trusted certificate %s... ", sc->name);
826 if (trusted)
827 free_fingerprint_list(trusted);