Skip to content

Commit d3787b6

Browse files
committed
fix(config): set tls-auth and tls-crypt independentyl of ta_content
1 parent d0a5b81 commit d3787b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openvpn/files/common_opts.jinja

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ dh {{ config.dh }}
179179
dh dh1024.pem
180180
{%- endif %}
181181

182-
{%- if config.ta_content is defined and config.tls_crypt is defined %}
182+
{%- if config.tls_crypt is defined %}
183183
tls-crypt {{ config.tls_crypt }}
184-
{%- elif config.ta_content is defined and config.tls_auth is defined %}
184+
{%- elif config.tls_auth is defined %}
185185
tls-auth {{ multipart_param(config.tls_auth) }}
186186
{%- endif %}
187187

0 commit comments

Comments
 (0)