summaryrefslogtreecommitdiff
path: root/source3/libads/sasl.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-06 11:17:37 -0800
committerJeremy Allison <jra@samba.org>2007-12-06 11:17:37 -0800
commit9bd35ef153ef4b7f892dcf9e69c2232b940a9e18 (patch)
treecf531cf8f0b2e0122d8956fecaae7370ab8bcebd /source3/libads/sasl.c
parent4acfce6b036ae1a0bf152a94bb5d6194e93f4004 (diff)
parentbf80f40ca4bcbf0b5f5d3f7f988f121d29fd3edf (diff)
downloadsamba-9bd35ef153ef4b7f892dcf9e69c2232b940a9e18.tar.gz
samba-9bd35ef153ef4b7f892dcf9e69c2232b940a9e18.tar.bz2
samba-9bd35ef153ef4b7f892dcf9e69c2232b940a9e18.zip
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 48252d124d83aaa502b7821564978b9bf5babd03)
Diffstat (limited to 'source3/libads/sasl.c')
-rw-r--r--source3/libads/sasl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index 3b3838e390..798d0b4365 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -329,7 +329,7 @@ static ADS_STATUS ads_sasl_gssapi_unwrap(ADS_STRUCT *ads)
return ADS_ERROR_NT(NT_STATUS_ACCESS_DENIED);
}
- if (wrapped.length < wrapped.length) {
+ if (wrapped.length < unwrapped.length) {
return ADS_ERROR_NT(NT_STATUS_INTERNAL_ERROR);
}