diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-10-18 21:13:16 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-21 08:43:10 +0200 |
commit | 083025ccd53fe3ee90fcc81eb8d4c566e11fd6ac (patch) | |
tree | 7352125c6a227d7a7d1224e2bfb00de7386f0fc7 /source3/librpc | |
parent | 915fe7981b48537bb000ae5f90e630caacf657e0 (diff) | |
download | samba-083025ccd53fe3ee90fcc81eb8d4c566e11fd6ac.tar.gz samba-083025ccd53fe3ee90fcc81eb8d4c566e11fd6ac.tar.bz2 samba-083025ccd53fe3ee90fcc81eb8d4c566e11fd6ac.zip |
s3-ntlmssp Remove auth_ntlmssp_update wrapper
We now just call gensec_update directly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/crypto/cli_spnego.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/librpc/crypto/cli_spnego.c b/source3/librpc/crypto/cli_spnego.c index 4742158b24..db03fdc852 100644 --- a/source3/librpc/crypto/cli_spnego.c +++ b/source3/librpc/crypto/cli_spnego.c @@ -24,6 +24,7 @@ #include "auth/ntlmssp/ntlmssp.h" #include "librpc/crypto/gse.h" #include "librpc/crypto/spnego.h" +#include "auth/gensec/gensec.h" static NTSTATUS spnego_context_init(TALLOC_CTX *mem_ctx, bool do_sign, bool do_seal, @@ -213,8 +214,8 @@ NTSTATUS spnego_get_client_auth_token(TALLOC_CTX *mem_ctx, case SPNEGO_NTLMSSP: ntlmssp_ctx = sp_ctx->mech_ctx.ntlmssp_state; - status = auth_ntlmssp_update(ntlmssp_ctx, mem_ctx, - token_in, &token_out); + status = gensec_update(ntlmssp_ctx->gensec_security, mem_ctx, NULL, + token_in, &token_out); if (NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) { mech_wants_more = true; |