From e302ecc0362cec05456d0a42fa4d8338f30db684 Mon Sep 17 00:00:00 2001 From: Alejandro Pulver Date: Tue, 7 Nov 2006 02:51:44 +0000 Subject: - Remove patch file: freeradius/files/patch-ab (see UPDATING note). - Add note to UPDATING. PR: ports/105025 Submitted by: David Wood (maintainer) --- net/freeradius2/files/patch-ab | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 net/freeradius2/files/patch-ab (limited to 'net/freeradius2/files') diff --git a/net/freeradius2/files/patch-ab b/net/freeradius2/files/patch-ab deleted file mode 100644 index 67f06dd8a2de..000000000000 --- a/net/freeradius2/files/patch-ab +++ /dev/null @@ -1,19 +0,0 @@ ---- src/modules/rlm_mschap/rlm_mschap.c.orig Thu Aug 19 10:20:28 2004 -+++ src/modules/rlm_mschap/rlm_mschap.c Thu Aug 19 10:21:16 2004 -@@ -220,10 +220,15 @@ - SHA1_CTX Context; - char hash[20]; - -+ const char *name; -+ -+ name = strchr(user_name, '\\'); -+ name = name == NULL ? user_name : name + 1; -+ - SHA1Init(&Context); - SHA1Update(&Context, peer_challenge, 16); - SHA1Update(&Context, auth_challenge, 16); -- SHA1Update(&Context, user_name, strlen(user_name)); -+ SHA1Update(&Context, name, strlen(name)); - SHA1Final(hash, &Context); - memcpy(challenge, hash, 8); - } -- cgit v1.2.3