1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4:libcli/smb2: remove unused 'session_key' from struct smb2_session

metze
This commit is contained in:
Stefan Metzmacher 2012-02-27 09:20:20 +01:00
parent 07b1de98cd
commit b7684f2ac6
2 changed files with 5 additions and 4 deletions

View File

@ -213,14 +213,16 @@ static void smb2_session_setup_spnego_done(struct tevent_req *subreq)
}
if (NT_STATUS_IS_OK(peer_status) && NT_STATUS_IS_OK(state->gensec_status)) {
status = gensec_session_key(session->gensec, session,
&session->session_key);
DATA_BLOB session_key;
status = gensec_session_key(session->gensec, state,
&session_key);
if (tevent_req_nterror(req, status)) {
return;
}
status = smb2cli_session_set_session_key(session->smbXcli,
session->session_key,
session_key,
recv_iov);
if (tevent_req_nterror(req, status)) {
return;

View File

@ -116,7 +116,6 @@ struct smb2_session {
struct smb2_transport *transport;
struct gensec_security *gensec;
uint32_t pid;
DATA_BLOB session_key;
struct smbXcli_session *smbXcli;
};