mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
gensec/spnego: remember the wanted features also on the main gensec context
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
00e417ffa0
commit
6fb4453d1e
@ -1571,8 +1571,8 @@ static void gensec_spnego_want_feature(struct gensec_security *gensec_security,
|
|||||||
{
|
{
|
||||||
struct spnego_state *spnego_state = (struct spnego_state *)gensec_security->private_data;
|
struct spnego_state *spnego_state = (struct spnego_state *)gensec_security->private_data;
|
||||||
|
|
||||||
if (!spnego_state || !spnego_state->sub_sec_security) {
|
|
||||||
gensec_security->want_features |= feature;
|
gensec_security->want_features |= feature;
|
||||||
|
if (!spnego_state || !spnego_state->sub_sec_security) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user