split RC4 send and recv keystreams
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19457 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -217,7 +217,10 @@ _gss_ntlm_init_sec_context
|
||||
}
|
||||
ctx->status |= STATUS_SESSIONKEY;
|
||||
|
||||
RC4_set_key(&ctx->crypto.key,
|
||||
RC4_set_key(&ctx->crypto_recv.key,
|
||||
ctx->sessionkey.length,
|
||||
ctx->sessionkey.data);
|
||||
RC4_set_key(&ctx->crypto_send.key,
|
||||
ctx->sessionkey.length,
|
||||
ctx->sessionkey.data);
|
||||
|
||||
|
Reference in New Issue
Block a user