summaryrefslogtreecommitdiff
path: root/source3/librpc/crypto/gse.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-01-05 14:59:20 +0100
committerStefan Metzmacher <metze@samba.org>2012-01-05 17:17:28 +0100
commit73ed88df350c0e307fcf7402be12170c22f2227e (patch)
tree9a1f8c6c8f44f104a736f0487bf6c3d2ed15eea2 /source3/librpc/crypto/gse.c
parenta1fd1a4c65fe0cfe71ecad96702a037cf6a16143 (diff)
downloadsamba-73ed88df350c0e307fcf7402be12170c22f2227e.tar.gz
samba-73ed88df350c0e307fcf7402be12170c22f2227e.tar.bz2
samba-73ed88df350c0e307fcf7402be12170c22f2227e.zip
s3:gse: MIT krb5 1.8.1 has a bug in gss_wrap_iov()
gss_krb5int_make_seal_token_v3_iov() doesn't set '*conf_state'. metze
Diffstat (limited to 'source3/librpc/crypto/gse.c')
-rw-r--r--source3/librpc/crypto/gse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c
index c7dfc39938..9eaef5aa44 100644
--- a/source3/librpc/crypto/gse.c
+++ b/source3/librpc/crypto/gse.c
@@ -782,7 +782,7 @@ NTSTATUS gse_seal(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx,
OM_uint32 gss_min, gss_maj;
gss_iov_buffer_desc iov[2];
int req_seal = 1; /* setting to 1 means we request sign+seal */
- int sealed;
+ int sealed = 1;
NTSTATUS status;
/* allocate the memory ourselves so we do not need to talloc_memdup */