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


_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to