summaryrefslogtreecommitdiff
path: root/net/icradius/files/patch-src::auth.c
diff options
context:
space:
mode:
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;