Remove deprecated ncp-disable option

This commit is contained in:
Lauri Võsandi 2021-06-11 20:18:40 +03:00
parent 1b1bc1a9f7
commit 3ea404810e

View File

@ -411,7 +411,6 @@ def certidude_enroll(fork, no_wait, kerberos):
fh.write("tls-cipher %s\n" % bootstrap["openvpn"]["tls_cipher"]) fh.write("tls-cipher %s\n" % bootstrap["openvpn"]["tls_cipher"])
else: else:
raise NotImplementedError("Unsupported TLS version") raise NotImplementedError("Unsupported TLS version")
fh.write("ncp-disable\n")
fh.write("cipher %s\n" % bootstrap["openvpn"]["cipher"]) fh.write("cipher %s\n" % bootstrap["openvpn"]["cipher"])
fh.write("auth %s\n" % bootstrap["openvpn"]["auth"]) fh.write("auth %s\n" % bootstrap["openvpn"]["auth"])
fh.write("mute-replay-warnings\n") fh.write("mute-replay-warnings\n")