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:
parent
07b1de98cd
commit
b7684f2ac6
@ -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;
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user