summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/gssapi
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-03-25 05:49:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:11 -0500
commitfc52ddf1761b429755fa8965c3906005278034c5 (patch)
tree7f8584111008128770afa1b378a93b4d5036d077 /source4/heimdal/lib/gssapi
parent9628e714ccc935c7c90c36c071c9193020c96155 (diff)
downloadsamba-fc52ddf1761b429755fa8965c3906005278034c5.tar.gz
samba-fc52ddf1761b429755fa8965c3906005278034c5.tar.bz2
samba-fc52ddf1761b429755fa8965c3906005278034c5.zip
r14707: Initialise default value (the rest of this function sets it to 1 if
this is CFX). Caught by Valgrind. Andrew Bartlett (This used to be commit bdb55ce2b57adf3b7c6eb1455c3775d013c72e5d)
Diffstat (limited to 'source4/heimdal/lib/gssapi')
-rw-r--r--source4/heimdal/lib/gssapi/accept_sec_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/heimdal/lib/gssapi/accept_sec_context.c b/source4/heimdal/lib/gssapi/accept_sec_context.c
index 9ca60a6cdd..ebb8ee2304 100644
--- a/source4/heimdal/lib/gssapi/accept_sec_context.c
+++ b/source4/heimdal/lib/gssapi/accept_sec_context.c
@@ -77,6 +77,7 @@ gsskrb5_is_cfx(gss_ctx_id_t context_handle, int *is_cfx)
{
krb5_keyblock *key;
int acceptor = (context_handle->more_flags & LOCAL) == 0;
+ *is_cfx = 0;
if (acceptor) {
if (context_handle->auth_context->local_subkey)