summaryrefslogtreecommitdiff
path: root/source3/librpc/crypto
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-10-18 21:43:40 +1100
committerStefan Metzmacher <metze@samba.org>2011-10-21 08:43:33 +0200
commit3f079885b21f22ec4f27cccaa6f59ebce0e56067 (patch)
treea53da6ce70a50a951b6cc23baf1c1d2a4f394b9e /source3/librpc/crypto
parentb9b170a9dd640dbde0a707b972fdb0c611e68df5 (diff)
downloadsamba-3f079885b21f22ec4f27cccaa6f59ebce0e56067.tar.gz
samba-3f079885b21f22ec4f27cccaa6f59ebce0e56067.tar.bz2
samba-3f079885b21f22ec4f27cccaa6f59ebce0e56067.zip
s3-ntlmssp Remove auth_ntlmssp_want_feature()
We now just call the gensec_want_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/librpc/crypto')
-rw-r--r--source3/librpc/crypto/cli_spnego.c8
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);