openvpn: add support for X.509 name options

x509-username-field was added in OpenVPN 2.2, and verify-x509-name was
added in 2.3. This fixes ticket #18807.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>

SVN-Revision: 48969
This commit is contained in:
John Crispin 2016-03-08 18:12:02 +00:00
parent 1b9985cfe2
commit 0ca7071632

View File

@ -124,6 +124,7 @@ start_instance() {
socks_proxy status status_version syslog tcp_queue_limit tls_auth \ socks_proxy status status_version syslog tcp_queue_limit tls_auth \
tls_cipher tls_remote tls_timeout tls_verify tmp_dir topology tran_window \ tls_cipher tls_remote tls_timeout tls_verify tmp_dir topology tran_window \
tun_mtu tun_mtu_extra txqueuelen user verb down push up \ tun_mtu tun_mtu_extra txqueuelen user verb down push up \
verify_x509_name x509_username_field \
ifconfig_ipv6 route_ipv6 server_ipv6 ifconfig_ipv6_pool ifconfig_ipv6_push iroute_ipv6 ifconfig_ipv6 route_ipv6 server_ipv6 ifconfig_ipv6_pool ifconfig_ipv6_push iroute_ipv6
openvpn_add_instance "$s" "/var/etc" "openvpn-$s.conf" openvpn_add_instance "$s" "/var/etc" "openvpn-$s.conf"