]> git.ipfire.org Git - thirdparty/bind9.git/commit
Stop including <gssapi.h> from <dst/gssapi.h> header
authorMark Andrews <marka@isc.org>
Mon, 15 Feb 2021 03:46:08 +0000 (14:46 +1100)
committerMark Andrews <marka@isc.org>
Tue, 16 Feb 2021 01:08:21 +0000 (12:08 +1100)
commitd51b78c85bfc97dbc88c47f7abc60baba9cb1766
treefa84bf828156254794371e5aee2e1c1b580ad0fe
parent4bbe3e75de7eb46619adc529ef9c86db7e2eb969
Stop including <gssapi.h> from <dst/gssapi.h> header

The only reason for including the gssapi.h from the dst/gssapi.h header
was to get the typedefs of gss_cred_id_t and gss_ctx_id_t.  Instead of
using those types directly this commit introduces dns_gss_cred_id_t and
dns_gss_ctx_id_t types that are being used in the public API and
privately retyped to their counterparts when we actually call the gss
api.

This also conceals the gssapi headers, so users of the libdns library
doesn't have to add GSSAPI_CFLAGS to the Makefile when including libdns
dst API.
bin/nsupdate/nsupdate.c
bin/tests/optional/gsstest.c
lib/dns/dst_api.c
lib/dns/dst_internal.h
lib/dns/gssapi_link.c
lib/dns/gssapictx.c
lib/dns/include/dns/tkey.h
lib/dns/include/dst/dst.h
lib/dns/include/dst/gssapi.h
lib/dns/tkey.c