libbind ns_find_tsig() documentation error.

Stacey Jonathan Marshall Stacey.Marshall at Sun.COM
Mon Oct 26 12:21:41 UTC 2009


The documentation for ns_find_tsig() is confused looking at 
libbind-6.0/doc/tsig.cat3:

TSIG                                 LOCAL                                TSIG

NAME
     ns_sign, ns_sign_tcp, ns_sign_tcp_init, ns_verify, ns_verify_tcp,
     ns_verify_tcp_init, ns_find_tsig -- TSIG system

SYNOPSIS

...

    u_char *
     ns_find_tsig(u_char *msg, u_char *eom);

...

     ns_find_tsig()
           msg            the incoming DNS message
           msglen         the length of the DNS message


A cursory review of libbind-6.0/nameser/ns_verify.c confirms that it is 
a unsigned character pointer that is expected to point to the 
end-of-message.

Regards,  Stacey





More information about the bind-users mailing list