diff options
author | Frank Cusack <fcusack@fcusack.com> | 2002-11-13 12:26:03 +0000 |
---|---|---|
committer | Frank Cusack <fcusack@fcusack.com> | 2002-11-13 12:26:03 +0000 |
commit | 62230e86739202fd86841ad8bb39261a0410f63b (patch) | |
tree | 61119a46833190d9f5178ea7d340dc74e405b8f3 /pppd/chap_ms.c | |
parent | 16e4aef0a9ebb22cd33bcf4f4533191d04ed59a1 (diff) | |
download | ppp-62230e86739202fd86841ad8bb39261a0410f63b.tar.gz |
ChapMS_LANMan(): update for new definition MS_ChapResponse/ChallengeResponse().
Diffstat (limited to 'pppd/chap_ms.c')
-rw-r--r-- | pppd/chap_ms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pppd/chap_ms.c b/pppd/chap_ms.c index 1041e03..8f6bb1c 100644 --- a/pppd/chap_ms.c +++ b/pppd/chap_ms.c @@ -40,7 +40,7 @@ * Copyright (c) 2002 Google, Inc. */ -#define RCSID "$Id: chap_ms.c,v 1.23 2002/11/02 19:48:12 carlsonj Exp $" +#define RCSID "$Id: chap_ms.c,v 1.24 2002/11/13 12:26:03 fcusack Exp $" #ifdef CHAPMS @@ -214,7 +214,7 @@ static u_char *StdText = (u_char *)"KGS!@#$%"; /* key from rasapi32.dll */ static void ChapMS_LANMan(u_char *rchallenge, char *secret, int secret_len, - MS_ChapResponse *LMResponse) + MS_ChapResponse *response) { int i; u_char UcasePassword[MAX_NT_PASSWORD]; /* max is actually 14 */ @@ -228,7 +228,7 @@ ChapMS_LANMan(u_char *rchallenge, char *secret, int secret_len, DesEncrypt( StdText, PasswordHash + 0 ); (void) DesSetkey(UcasePassword + 7); DesEncrypt( StdText, PasswordHash + 8 ); - ChallengeResponse(rchallenge, PasswordHash, LMResponse); + ChallengeResponse(rchallenge, PasswordHash, response->LANManResp); } #endif |