summaryrefslogtreecommitdiffstats
path: root/src/openvpn/options.c
diff options
context:
space:
mode:
authorHeiko Hund <heiko.hund@sophos.com>2012-10-29 14:16:37 +0100
committerDavid Sommerseth <davids@redhat.com>2012-10-29 15:39:40 +0100
commitd442b8dbc4230e4252a63fbd57f149ef3fa090c8 (patch)
treea86f8373e5a50cfbc5ce1a477f0ce45a43515bc4 /src/openvpn/options.c
parent3b8d116d3d9dbe2fac786311db8b2bec53d88c77 (diff)
downloadopenvpn-d442b8dbc4230e4252a63fbd57f149ef3fa090c8.tar.gz
openvpn-d442b8dbc4230e4252a63fbd57f149ef3fa090c8.tar.xz
openvpn-d442b8dbc4230e4252a63fbd57f149ef3fa090c8.zip
Support UTF-8 --client-config-dir
If a common name (or user name, when used in conjunction with --username-as-common-name) contains UTF-8 encoded characters their octets get replaced by underscores. This becomes problematic when user "Müller" and "Möller" need to have a CCD file and both would receive options from the file "M__ller". The situation is even worse for non-latin alphabets, where CCD file names consist of underscores entirely. This patch removes that limitation and also allows the file names to contain any punctuation characters besided the resevered ones. Signed-off-by: Heiko Hund <heiko.hund@sophos.com> Acked-by: David Sommerseth <davids@redhat.com> Message-Id: 1351516597-11128-1-git-send-email-heiko.hund@sophos.com URL: http://article.gmane.org/gmane.network.openvpn.devel/7110 Signed-off-by: David Sommerseth <davids@redhat.com> (cherry picked from commit 9885f57e3ac8d2e32ba20ca84f6bdd0a1a995eac)
Diffstat (limited to 'src/openvpn/options.c')
0 files changed, 0 insertions, 0 deletions