summaryrefslogtreecommitdiff
path: root/source3/librpc/crypto/gse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/crypto/gse.c')
-rw-r--r--source3/librpc/crypto/gse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c
index 271445ec38..9f8b3f770e 100644
--- a/source3/librpc/crypto/gse.c
+++ b/source3/librpc/crypto/gse.c
@@ -83,7 +83,7 @@ struct gse_context {
gss_OID ret_mech;
OM_uint32 ret_flags;
- gss_cred_id_t delegated_creds;
+ gss_cred_id_t delegated_cred_handle;
gss_name_t client_name;
bool more_processing;
@@ -144,9 +144,9 @@ static int gse_context_destructor(void *ptr)
gss_maj = gss_release_cred(&gss_min,
&gse_ctx->creds);
}
- if (gse_ctx->delegated_creds) {
+ if (gse_ctx->delegated_cred_handle) {
gss_maj = gss_release_cred(&gss_min,
- &gse_ctx->delegated_creds);
+ &gse_ctx->delegated_cred_handle);
}
/* MIT and Heimdal differ as to if you can call
@@ -486,7 +486,7 @@ static NTSTATUS gse_get_server_auth_token(TALLOC_CTX *mem_ctx,
&gse_ctx->ret_mech,
&out_data,
&gse_ctx->ret_flags, NULL,
- &gse_ctx->delegated_creds);
+ &gse_ctx->delegated_cred_handle);
switch (gss_maj) {
case GSS_S_COMPLETE:
/* we are done with it */