summaryrefslogtreecommitdiff
path: root/net/freeradius2/files/patch-x99_rlm.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/freeradius2/files/patch-x99_rlm.c')
-rw-r--r--net/freeradius2/files/patch-x99_rlm.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/freeradius2/files/patch-x99_rlm.c b/net/freeradius2/files/patch-x99_rlm.c
new file mode 100644
index 000000000000..70fecf4393d8
--- /dev/null
+++ b/net/freeradius2/files/patch-x99_rlm.c
@@ -0,0 +1,21 @@
+--- src/modules/rlm_x99_token/x99_rlm.c.orig Wed Aug 18 10:52:56 2004
++++ src/modules/rlm_x99_token/x99_rlm.c Wed Aug 18 10:53:43 2004
+@@ -544,8 +544,6 @@
+ "auth: bad state for [%s]: expired", username);
+ return RLM_MODULE_REJECT;
+ }
+-good_state:
+- /* State is good! */
+
+ } else {
+ /* This should only happen if the authorize code didn't run. */
+@@ -555,6 +553,9 @@
+ return RLM_MODULE_FAIL;
+ }
+ } /* if (!fast_sync) */
++
++good_state:
++ /* State is good! */
+
+ /* Get the time of the last authentication. */
+ if (x99_get_last_auth(inst->syncdir, username, &last_auth) != 0) {