From 7765c3d3500ff8050f20d17e9bf6dbc16e426d99 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Wed, 19 Dec 2001 02:30:02 +0000 Subject: Add icradius 0.18.1, a variant of Cistron RADIUS, but with a MySQL backend. PR: 29080 Submitted by: Sergey N. Voronkov --- net/icradius/files/patch-src::auth.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/icradius/files/patch-src::auth.c (limited to 'net/icradius/files/patch-src::auth.c') 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; -- cgit v1.2.3