aboutsummaryrefslogtreecommitdiff
path: root/ssl.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-31 07:04:51 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-31 07:04:51 +0000
commited3042470f498fbf1468d3d757982a19df38b3bd (patch)
tree4c1a6bc48634f1dccddc6bd27cad0b5a390378c6 /ssl.h
parentAdded --status-version 3 which is the same as version 2 (diff)
downloadopenvpn-ed3042470f498fbf1468d3d757982a19df38b3bd.tar.xz
Added --no-name-remapping option to allow Common Name, X509 Subject,
and username strings to include any printable character including space, but excluding control characters such as tab, newline, and carriage-return. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3467 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--ssl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl.h b/ssl.h
index 6921cf3..41df175 100644
--- a/ssl.h
+++ b/ssl.h
@@ -468,6 +468,7 @@ struct tls_options
# define SSLF_CLIENT_CERT_NOT_REQUIRED (1<<0)
# define SSLF_USERNAME_AS_COMMON_NAME (1<<1)
# define SSLF_AUTH_USER_PASS_OPTIONAL (1<<2)
+# define SSLF_NO_NAME_REMAPPING (1<<3)
unsigned int ssl_flags;
#ifdef MANAGEMENT_DEF_AUTH