Patch: anchor_read_bind_file supporting wildcards

Hi,

I made a patch for unbound's trusted-keys-file: statement to allow
wildcards, so I can do something like:

trusted-keys-file: "/etc/pki/dnssec-keys/production/*.conf"

It's not the best code, as I'm not an alloc() and free() expert, but
it does work for me :slight_smile:

It's using scandir without the inbuild filter functionality, which
could also be improved upon.

Paul

(attachments)

unbound-1.1-scandir.patch (2.19 KB)