Fix the places valgrind reminds me I'm stupid.

Signed-off-by: Peter Jones <pjones@redhat.com>
Move EFI_SIGNATURE_LIST iterators to their own file.

Signed-off-by: Peter Jones <pjones@redhat.com>
Add an EFI_SIGNATURE_LIST iterator.

Signed-off-by: Peter Jones <pjones@redhat.com>
Make esd_iter use esl_iter correctly.

Signed-off-by: Peter Jones <pjones@redhat.com>
Change the iter semantics so <1 == stop.

Previous:

-1 = error
0 = not finished
1 = finished

New:

-1 = error
0 = finished
1 = not finished

Signed-off-by: Peter Jones <pjones@redhat.com>
Implement filetype guessing.

Signed-off-by: Peter Jones <pjones@redhat.com>
We don't need to be linking to nss.

Signed-off-by: Peter Jones <pjones@redhat.com>
Add ccan hashes and htables.

Signed-off-by: Peter Jones <pjones@redhat.com>
Add an efi signature list entry hash table.

Signed-off-by: Peter Jones <pjones@redhat.com>
Fix typoes.

Signed-off-by: Peter Jones <pjones@redhat.com>
Add missing include.

Signed-off-by: Peter Jones <pjones@redhat.com>
Add some sample DBX updates.

One of these is invalid, the other isn't.

Signed-off-by: Peter Jones <pjones@redhat.com>
Add some guid comparitors.

Signed-off-by: Peter Jones <pjones@redhat.com>
Fix bug where esd_iter_next() doesn't give us the correct type.

Signed-off-by: Peter Jones <pjones@redhat.com>
Add equivalence tester for esl_htable_entry.

Signed-off-by: Peter Jones <pjones@redhat.com>
Make testing for updates being previously applied work.

Signed-off-by: Peter Jones <pjones@redhat.com>