aboutsummaryrefslogtreecommitdiff
path: root/openvpn.h
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn.h')
-rw-r--r--openvpn.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/openvpn.h b/openvpn.h
index 318f10d..e635dba 100644
--- a/openvpn.h
+++ b/openvpn.h
@@ -397,12 +397,11 @@ struct context_2
in_addr_t push_ifconfig_local;
in_addr_t push_ifconfig_remote_netmask;
- /* client authentication state */
-# define CAS_UNDEF 0
-# define CAS_SUCCEEDED 1
-# define CAS_PENDING 2
-# define CAS_FAILED 3
-# define CAS_PARTIAL 4 /* at least one client-connect script/plugin
+ /* client authentication state, CAS_SUCCEEDED must be 0 */
+# define CAS_SUCCEEDED 0
+# define CAS_PENDING 1
+# define CAS_FAILED 2
+# define CAS_PARTIAL 3 /* at least one client-connect script/plugin
succeeded while a later one in the chain failed */
int context_auth;
#endif