]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Do not upcase x509-username-field for mixed-case arguments.
authorAndris Kalnozols <andris@hpl.hp.com>
Sat, 28 Jun 2014 17:41:02 +0000 (19:41 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 10 Jul 2014 18:09:27 +0000 (20:09 +0200)
commitf4e0ad82b0eaccce965074c1ceec2b7e3853dc0d
tree74225765d72d074259ba5cb4fd710d8c4fcd7d5d
parent0c21b2dba9fca5f3e7effc45a495be1f5a9d0246
Do not upcase x509-username-field for mixed-case arguments.

I revisited options.c to refine its brute-force upcasing behavior. Now, the
upcasing is done only if the option argument is all lowercase. Mixed-case
arguments and those with the "ext:" prefix are left unchanged. This
preserves the original intent of the "helpful" upcasing feature for
backwards compatibility while limiting its scope in a straightforward way.

Signed-off-by: Andris Kalnozols <andris@hpl.hp.com>
Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <53B1BDD8.8020705@karger.me>
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/openvpn.8
src/openvpn/options.c