mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
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.
This commit is contained in:
committed by
Mark Andrews
parent
23c3bcc711
commit
a5d2ce79c8
@@ -846,7 +846,7 @@ out:
|
||||
return (result);
|
||||
}
|
||||
|
||||
gss_ctx_id_t
|
||||
dns_gss_ctx_id_t
|
||||
dst_key_getgssctx(const dst_key_t *key) {
|
||||
REQUIRE(key != NULL);
|
||||
|
||||
@@ -854,8 +854,8 @@ dst_key_getgssctx(const dst_key_t *key) {
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
dst_key_fromgssapi(const dns_name_t *name, gss_ctx_id_t gssctx, isc_mem_t *mctx,
|
||||
dst_key_t **keyp, isc_region_t *intoken) {
|
||||
dst_key_fromgssapi(const dns_name_t *name, dns_gss_ctx_id_t gssctx,
|
||||
isc_mem_t *mctx, dst_key_t **keyp, isc_region_t *intoken) {
|
||||
dst_key_t *key;
|
||||
isc_result_t result;
|
||||
|
||||
|
Reference in New Issue
Block a user