+void
+print_entry2(struct trust_cache_entry2 entry)
+{
+ print_hash(entry.cdhash, false);
+
+ switch (entry.flags) {
+ case CS_TRUST_CACHE_AMFID:
+ printf(" CS_TRUST_CACHE_AMFID ");
+ break;
+ case CS_TRUST_CACHE_ANE:
+ printf(" CS_TRUST_CACHE_ANE ");
+ break;
+ case CS_TRUST_CACHE_AMFID|CS_TRUST_CACHE_ANE:
+ printf(" CS_TRUST_CACHE_AMFID|CS_TRUST_CACHE_ANE ");
+ break;
+ case 0:
+ printf(" [none] ");
+ break;
+ default:
+ printf(" [%i] ", entry.flags);
+ break;
+ }
+
+ printf("[%i] [%i]\n", entry.hash_type, entry.category);
+}
+