diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-08-02 10:24:28 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-03 18:48:02 +1000 |
commit | dee845eb70379feae89940e9535541f7957c60d9 (patch) | |
tree | a2553eb0d80c4bd78cd972c56a63f31af326b22b /source3/librpc | |
parent | 6bcaba6f8ab8bae874c67389e716dd3766309656 (diff) | |
download | samba-dee845eb70379feae89940e9535541f7957c60d9.tar.gz |
s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_get_session_key()
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/crypto/cli_spnego.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/librpc/crypto/cli_spnego.c b/source3/librpc/crypto/cli_spnego.c index e4fdf315aaf..f2454846530 100644 --- a/source3/librpc/crypto/cli_spnego.c +++ b/source3/librpc/crypto/cli_spnego.c @@ -340,9 +340,8 @@ DATA_BLOB spnego_get_session_key(TALLOC_CTX *mem_ctx, return gse_get_session_key(mem_ctx, sp_ctx->mech_ctx.gssapi_state); case SPNEGO_NTLMSSP: - sk = auth_ntlmssp_get_session_key( - sp_ctx->mech_ctx.ntlmssp_state); - return data_blob_dup_talloc(mem_ctx, &sk); + return auth_ntlmssp_get_session_key( + sp_ctx->mech_ctx.ntlmssp_state, mem_ctx); default: DEBUG(0, ("Unsupported type in request!\n")); return data_blob_null; |