From 8fd3a7c43e925e452b7738c50811d8a00b35babb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 6 Dec 2007 09:53:42 +0100 Subject: libads: fix typo metze (This used to be commit b55b19190d9c1199be13727a75a5936d6f5f15a8) --- source3/libads/sasl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit