Hello,
using opendkim-genzone -d domain it's possible to extract public key
portions from the configured
private key repository ( files, sql or ldap ). That work very well.
Now I have to export not only keys for a domain but all subdomains, too.
opendkim-genzone.c, line 642 does the relevant check.
if (onlydomain != NULL && strcasecmp(domain, onlydomain) != 0) {
// skip this
}
I like to change the code to something like
if (onlydomain != NULL && have_the_same_chars_at_strend(domain, '.' +
onlydomain) != 0) {
// skip this
}
but I fail to find a proper C function that check if two strings _end_
with the same chars.
Any hints? Thanks.
Andreas
Received on Mon Jan 12 2015 - 21:22:36 PST
This archive was generated by hypermail 2.3.0
: Mon Jan 12 2015 - 21:27:00 PST