mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4-libcli: Fix comparison of chosen_oid.
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
This commit is contained in:
parent
f670cae69d
commit
b4accd365d
@ -515,7 +515,7 @@ static NTSTATUS session_setup_spnego(struct composite_context *c,
|
||||
}
|
||||
}
|
||||
|
||||
if ((const void *)chosen_oid == (const void *)GENSEC_OID_SPNEGO) {
|
||||
if (strequal(chosen_oid, GENSEC_OID_SPNEGO)) {
|
||||
status = gensec_update(session->gensec, state,
|
||||
c->event_ctx,
|
||||
session->transport->negotiate.secblob,
|
||||
|
Loading…
Reference in New Issue
Block a user