summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-08-06 22:43:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:26 -0500
commit910c1d55c24f52cb38b4b54db641a5d67764ea58 (patch)
tree7ed77bbcf15262fbecb1107ad975ea867bfaccc2 /source4
parentdd106966ecb4b79511df77c62bacd83c37e414e5 (diff)
downloadsamba-910c1d55c24f52cb38b4b54db641a5d67764ea58.tar.gz
samba-910c1d55c24f52cb38b4b54db641a5d67764ea58.tar.bz2
samba-910c1d55c24f52cb38b4b54db641a5d67764ea58.zip
r9165: Fix inverted error check in untested code path. (My untested code...)
Andrew Bartlett (This used to be commit fba7a0edd4ba29e595bb6ebd77381b383701482d)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/kerberos/kerberos_pac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos_pac.c b/source4/auth/kerberos/kerberos_pac.c
index 83679972d9..006b54590f 100644
--- a/source4/auth/kerberos/kerberos_pac.c
+++ b/source4/auth/kerberos/kerberos_pac.c
@@ -216,7 +216,7 @@ static NTSTATUS check_pac_checksum(TALLOC_CTX *mem_ctx,
smb_krb5_context,
krbtgt_keyblock,
service_keyblock);
- if (NT_STATUS_IS_OK(nt_status)) {
+ if (!NT_STATUS_IS_OK(nt_status)) {
return nt_status;
}