summaryrefslogtreecommitdiff
path: root/net/icradius/files/patch-src::auth.c
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-12-19 02:30:02 +0000
committerWill Andrews <will@FreeBSD.org>2001-12-19 02:30:02 +0000
commit7765c3d3500ff8050f20d17e9bf6dbc16e426d99 (patch)
tree2a576321bfa1f5eb7c8acbfbea468c2e52446f4a /net/icradius/files/patch-src::auth.c
parentAdd p5-IC-Radius 0.4, a Perl5 extension for ICRADIUS Interface Module. (diff)
Add icradius 0.18.1, a variant of Cistron RADIUS, but with a MySQL
backend. PR: 29080 Submitted by: Sergey N. Voronkov <serg@tmn.ru>
Notes
Notes: svn path=/head/; revision=51767
Diffstat (limited to 'net/icradius/files/patch-src::auth.c')
-rw-r--r--net/icradius/files/patch-src::auth.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/icradius/files/patch-src::auth.c b/net/icradius/files/patch-src::auth.c
new file mode 100644
index 000000000000..17a8c991e247
--- /dev/null
+++ b/net/icradius/files/patch-src::auth.c
@@ -0,0 +1,11 @@
+--- src/auth.c.old Tue Sep 5 23:16:10 2000
++++ src/auth.c Fri Jan 5 10:14:11 2001
+@@ -420,7 +420,7 @@
+ /*
+ * Plain text password.
+ */
+- snprintf(dbpass, 128, " Password should be '%s'", password_pair->strvalue);
++ strncpy(dbpass," Password mismatch",128);
+ if (password_pair == NULL ||
+ strcmp(password_pair->strvalue, string)!=0)
+ result = -1;