summaryrefslogtreecommitdiffstats
path: root/ssl.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-11-18 03:22:52 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-11-18 03:22:52 +0000
commit09cc9c81c8e57a21395de4848baaa8213627d3c6 (patch)
tree4d17f28cb5eaf0c24168282dd742c2da1c6b95cf /ssl.h
parent03bfb228ffd95c37e135bb9a5a37160c247e28a9 (diff)
downloadopenvpn-09cc9c81c8e57a21395de4848baaa8213627d3c6.tar.gz
openvpn-09cc9c81c8e57a21395de4848baaa8213627d3c6.tar.xz
openvpn-09cc9c81c8e57a21395de4848baaa8213627d3c6.zip
Added server-side --opt-verify option: clients that connect
with options that are incompatible with those of the server will be disconnected. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3505 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'ssl.h')
-rw-r--r--ssl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl.h b/ssl.h
index 41df175..6dedac1 100644
--- a/ssl.h
+++ b/ssl.h
@@ -469,6 +469,7 @@ struct tls_options
# define SSLF_USERNAME_AS_COMMON_NAME (1<<1)
# define SSLF_AUTH_USER_PASS_OPTIONAL (1<<2)
# define SSLF_NO_NAME_REMAPPING (1<<3)
+# define SSLF_OPT_VERIFY (1<<4)
unsigned int ssl_flags;
#ifdef MANAGEMENT_DEF_AUTH