diff options
author | Brian Somers <brian@FreeBSD.org> | 2002-06-15 08:03:30 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2002-06-15 08:03:30 +0000 |
commit | 10be78d3ae11fbdd8fab4a4a34d5337ce071dd1d (patch) | |
tree | 1a5ce3d59f7e248077b816072e04048f10560a99 /usr.sbin/ppp/chap_ms.c | |
parent | 232a0ff51d29fcdbfc2a835309d92284931098dc (diff) | |
download | src-10be78d3ae11fbdd8fab4a4a34d5337ce071dd1d.tar.gz src-10be78d3ae11fbdd8fab4a4a34d5337ce071dd1d.zip |
Remove whitespace at the end of lines.
Notes
Notes:
svn path=/head/; revision=98243
Diffstat (limited to 'usr.sbin/ppp/chap_ms.c')
-rw-r--r-- | usr.sbin/ppp/chap_ms.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ppp/chap_ms.c b/usr.sbin/ppp/chap_ms.c index c7d1480f5d9c..74ac19980016 100644 --- a/usr.sbin/ppp/chap_ms.c +++ b/usr.sbin/ppp/chap_ms.c @@ -132,7 +132,7 @@ ChallengeResponse(u_char *challenge, u_char *pwHash, u_char *response) void NtPasswordHash(char *key, int keylen, char *hash) -{ +{ MD4_CTX MD4context; MD4Init(&MD4context); @@ -142,7 +142,7 @@ NtPasswordHash(char *key, int keylen, char *hash) void HashNtPasswordHash(char *hash, char *hashhash) -{ +{ MD4_CTX MD4context; MD4Init(&MD4context); @@ -159,14 +159,14 @@ ChallengeHash(char *PeerChallenge, char *AuthenticatorChallenge, char *Name; Name = strrchr(UserName, '\\'); - if(NULL == Name) + if(NULL == Name) Name = UserName; else Name++; SHA1_Init(&Context); - SHA1_Update(&Context, PeerChallenge, 16); + SHA1_Update(&Context, PeerChallenge, 16); SHA1_Update(&Context, AuthenticatorChallenge, 16); SHA1_Update(&Context, Name, strlen(Name)); @@ -254,7 +254,7 @@ GenerateAuthenticatorResponse(char *Password, int PasswordLen, SHA1_Update(&Context, NTResponse, 24); SHA1_Update(&Context, Magic1, 39); SHA1_Final(Digest, &Context); - ChallengeHash(PeerChallenge, AuthenticatorChallenge, UserName, UserNameLen, + ChallengeHash(PeerChallenge, AuthenticatorChallenge, UserName, UserNameLen, Challenge); SHA1_Init(&Context); SHA1_Update(&Context, Digest, 20); @@ -275,7 +275,7 @@ GenerateAuthenticatorResponse(char *Password, int PasswordLen, AuthenticatorResponse[i] = toupper(AuthenticatorResponse[i]); } - + void GetMasterKey(char *PasswordHashHash, char *NTResponse, char *MasterKey) { |