git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b75cc98
)
auth/spnego: remove useless spnego_state->sub_sec_ready check
author
Stefan Metzmacher
<metze@samba.org>
Fri, 30 Dec 2016 08:06:33 +0000
(09:06 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Thu, 29 Jun 2017 13:59:22 +0000
(15:59 +0200)
The lines above make sure it's always true.
Check with git show -U15
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
auth/gensec/spnego.c
patch
|
blob
|
history
diff --git
a/auth/gensec/spnego.c
b/auth/gensec/spnego.c
index c548db4efb1ae74cb3a1438b446368c7b2801092..e3f9def8b82947104c9c8517386754adf66ee30b 100644
(file)
--- a/
auth/gensec/spnego.c
+++ b/
auth/gensec/spnego.c
@@
-1060,9
+1060,7
@@
static NTSTATUS gensec_spnego_update(struct gensec_security *gensec_security, TA
nt_status = NT_STATUS_OK;
}
- if (spnego_state->sub_sec_ready &&
- !spnego_state->done_mic_check)
- {
+ if (!spnego_state->done_mic_check) {
bool have_sign = true;
bool new_spnego = false;