summaryrefslogtreecommitdiff
path: root/net/freeradius2/files/patch-ab
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
commit7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch)
tree22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /net/freeradius2/files/patch-ab
parentNow buildable on 4.x, still broken on >= 5.x. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Diffstat (limited to 'net/freeradius2/files/patch-ab')
-rw-r--r--net/freeradius2/files/patch-ab19
1 files changed, 0 insertions, 19 deletions
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);
- }