1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

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
This commit is contained in:
Stefan Metzmacher 2012-01-05 14:59:20 +01:00
parent a1fd1a4c65
commit 73ed88df35

View File

@ -782,7 +782,7 @@ NTSTATUS gse_seal(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx,
OM_uint32 gss_min, gss_maj; OM_uint32 gss_min, gss_maj;
gss_iov_buffer_desc iov[2]; gss_iov_buffer_desc iov[2];
int req_seal = 1; /* setting to 1 means we request sign+seal */ int req_seal = 1; /* setting to 1 means we request sign+seal */
int sealed; int sealed = 1;
NTSTATUS status; NTSTATUS status;
/* allocate the memory ourselves so we do not need to talloc_memdup */ /* allocate the memory ourselves so we do not need to talloc_memdup */