diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/negprot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index e3a6701dce..d20f713113 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -128,8 +128,8 @@ static int reply_lanman2(char *outbuf) if (!cli) { generate_next_challenge(cryptkey); } else { - memcpy(cryptkey, cli->cryptkey, 8); - set_challenge(cli->cryptkey); + memcpy(cryptkey, cli->secblob.data, 8); + set_challenge(cryptkey); } } @@ -191,8 +191,8 @@ static int reply_nt1(char *outbuf) if (!cli) { generate_next_challenge(cryptkey); } else { - memcpy(cryptkey, cli->cryptkey, 8); - set_challenge(cli->cryptkey); + memcpy(cryptkey, cli->secblob.data, 8); + set_challenge(cryptkey); } } |