From 0c2d2f833eb4c32b55db8f3b66bfd2ab2a38dd59 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Fri, 6 Oct 2023 15:25:13 +1300 Subject: [PATCH] =?utf8?q?s3:libnet:=20Remove=20always=E2=80=90false=20com?= =?utf8?q?parison=20(CID=20241309)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- source3/libnet/libnet_dssync_keytab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libnet/libnet_dssync_keytab.c b/source3/libnet/libnet_dssync_keytab.c index 289ffcb56b9..41893b4f7fd 100644 --- a/source3/libnet/libnet_dssync_keytab.c +++ b/source3/libnet/libnet_dssync_keytab.c @@ -502,7 +502,7 @@ static NTSTATUS parse_object(TALLOC_CTX *mem_ctx, } } - if ((kvno < 0) && (kvno < pwd_history_len)) { + if (kvno < pwd_history_len) { return status; } -- 2.47.3