]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add extv3 X509 field support to --x509-username-field
authorMarkus Koetter <koetter@rrzn-hiwi.uni-hannover.de>
Fri, 10 Dec 2010 19:30:09 +0000 (20:30 +0100)
committerDavid Sommerseth <davids@redhat.com>
Fri, 25 Mar 2011 08:05:18 +0000 (09:05 +0100)
commit3fa86d237721ca113fa020b7e888a1e10374a560
tree86cdf43dede61fb83e742207c34cc6e9fc02a081
parent338b6948dd52bc0cf2da7e09a29f5127066a7af7
Add extv3 X509 field support to --x509-username-field

This allows using other X509 certificate fields for the certificate
authentication.  To use altSubjectName, use
--x509-username-field ext:altSubjectName

This feature requires OpenVPN to be built with --enable-x509-alt-username

This patch is slightly modified, to honour --enable-x509-alt-username
compile time configuration.  Two #ifdef's are added.

Signed-off-by: Markus Koetter <koetter@rrzn-hiwi.uni-hannover.de>
Signed-off-by: David Sommerseth <davids@redhat.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
options.c
ssl.c