Thanks! And nice const-correctness :-) There are a couple of missing const qualifiers - see below. Tony. -- f.anthony.n.finch http://dotat.at/ - I xn--zr8h punycode Humber, Thames, Dover: West 4 or 5, becoming variable 3 or 4 later. Slight, occasionally moderate at first in Humber. Fair. Good, occasionally moderate later. diff --git a/bin/tools/nsec3hash.c b/bin/tools/nsec3hash.c index 93bfbab..a1c40f5 100644 --- a/bin/tools/nsec3hash.c +++ b/bin/tools/nsec3hash.c @@ -70,7 +70,7 @@ typedef void nsec3printer(unsigned algo, unsigned flags, unsigned iters, const char *digest); static void -nsec3hash(nsec3printer *nsec3print, char *algostr, char *flagstr, +nsec3hash(nsec3printer *nsec3print, const char *algostr, const char *flagstr, const char *iterstr, const char *saltstr, const char *domain) { dns_fixedname_t fixed;