When doing DNS outside of libdkim using libdkim's callbacks, there should be a way to try to pick a valid TXT record to return to libdkim when multiple TXT records are returned for a query. Functions to check for valid key and policy records are needed. The following patch is an attempt at creating these. It also includes a function to check for valid signature syntax as well for completeness.
Log in to post a comment.