summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-11 11:17:26 +1100
committerStefan Metzmacher <metze@samba.org>2012-01-18 16:23:24 +0100
commite8c8d293d80ca41312ab03c017490551dc978b7b (patch)
treeee7dab89fe5d2011b50fc76f0150c5ea2938d707
parent40715e1251dc27a677c1b0b894406b6d86e391f0 (diff)
downloadsamba-e8c8d293d80ca41312ab03c017490551dc978b7b.tar.gz
samba-e8c8d293d80ca41312ab03c017490551dc978b7b.tar.bz2
samba-e8c8d293d80ca41312ab03c017490551dc978b7b.zip
s3-gse Rename delegated_creds to match gensec_gssapi_context
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-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 */