From de065cb9c423a7248dbdbafc70f1bf7b944dbca8 Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Thu, 24 Jun 2021 21:27:57 +0200
Subject: openvpn: T1512: T3641: drop deprecated "compat-names" option

(cherry picked from commit c8ef5e8bdce01bbf05297df39e6c6223d0b2a2ea)
---
 data/templates/openvpn/server.conf.tmpl | 14 --------------
 1 file changed, 14 deletions(-)

(limited to 'data/templates')

diff --git a/data/templates/openvpn/server.conf.tmpl b/data/templates/openvpn/server.conf.tmpl
index 1a966c5ef..c5d665c0b 100644
--- a/data/templates/openvpn/server.conf.tmpl
+++ b/data/templates/openvpn/server.conf.tmpl
@@ -259,20 +259,6 @@ auth-user-pass {{ auth_user_pass_file }}
 auth-retry nointeract
 {% endif %}
 
-# DEPRECATED This option will be removed in OpenVPN 2.5
-# Until OpenVPN v2.3 the format of the X.509 Subject fields was formatted like this:
-# /C=US/L=Somewhere/CN=John Doe/emailAddress=john@example.com In addition the old
-# behaviour was to remap any character other than alphanumeric, underscore ('_'),
-# dash ('-'), dot ('.'), and slash ('/') to underscore ('_'). The X.509 Subject
-# string as returned by the tls_id environmental variable, could additionally
-# contain colon (':') or equal ('='). When using the --compat-names option, this
-# old formatting and remapping will be re-enabled again. This is purely implemented
-# for compatibility reasons when using older plug-ins or scripts which does not
-# handle the new formatting or UTF-8 characters.
-#
-# See https://phabricator.vyos.net/T1512
-compat-names
-
 {% if openvpn_option is defined and openvpn_option is not none %}
 #
 # Custom options added by user (not validated)
-- 
cgit v1.2.3