aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French <Yehuda.Sadeh@expand.com>2007-07-09 03:55:14 -0400
committerSteve French <sfrench@us.ibm.com>2007-07-09 03:55:14 -0400
commitb609f06ac4ac77433035366e9aa4dcd7a0f743a0 (patch)
treef4ecd57e0db3c398ffe7cf7eed3214cfff63585b /fs/cifs/connect.c
parent3870253efb65e1960421ca74f5d336218c28fc5b (diff)
[CIFS] Fix packet signatures for NTLMv2 case
Signed-off-by: Yehuda Sadeh Weinraub <Yehuda.Sadeh@expand.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 8f436ef24368..9b95d4637fcc 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -3475,7 +3475,7 @@ int cifs_setup_session(unsigned int xid, struct cifsSesInfo *pSesInfo,
3475 3475
3476 if(first_time) 3476 if(first_time)
3477 cifs_calculate_mac_key( 3477 cifs_calculate_mac_key(
3478 pSesInfo->server->mac_signing_key, 3478 &pSesInfo->server->mac_signing_key,
3479 ntlm_session_key, 3479 ntlm_session_key,
3480 pSesInfo->password); 3480 pSesInfo->password);
3481 } 3481 }
@@ -3495,7 +3495,7 @@ int cifs_setup_session(unsigned int xid, struct cifsSesInfo *pSesInfo,
3495 3495
3496 if(first_time) 3496 if(first_time)
3497 cifs_calculate_mac_key( 3497 cifs_calculate_mac_key(
3498 pSesInfo->server->mac_signing_key, 3498 &pSesInfo->server->mac_signing_key,
3499 ntlm_session_key, pSesInfo->password); 3499 ntlm_session_key, pSesInfo->password);
3500 3500
3501 rc = CIFSSessSetup(xid, pSesInfo, 3501 rc = CIFSSessSetup(xid, pSesInfo,