diff options
Diffstat (limited to 'source3/librpc/crypto')
-rw-r--r-- | source3/librpc/crypto/cli_spnego.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/librpc/crypto/cli_spnego.c b/source3/librpc/crypto/cli_spnego.c index 1320a95216..31d0157069 100644 --- a/source3/librpc/crypto/cli_spnego.c +++ b/source3/librpc/crypto/cli_spnego.c @@ -129,11 +129,11 @@ NTSTATUS spnego_ntlmssp_init_client(TALLOC_CTX *mem_ctx, } if (do_sign) { - auth_ntlmssp_want_feature(sp_ctx->mech_ctx.ntlmssp_state, - NTLMSSP_FEATURE_SIGN); + gensec_want_feature(sp_ctx->mech_ctx.ntlmssp_state->gensec_security, + GENSEC_FEATURE_SIGN); } else if (do_seal) { - auth_ntlmssp_want_feature(sp_ctx->mech_ctx.ntlmssp_state, - NTLMSSP_FEATURE_SEAL); + gensec_want_feature(sp_ctx->mech_ctx.ntlmssp_state->gensec_security, + GENSEC_FEATURE_SEAL); } status = auth_ntlmssp_client_start(sp_ctx->mech_ctx.ntlmssp_state); |