diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-03-14 12:21:20 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-03-14 16:04:20 +0100 |
| commit | b98fbee125dd15bbd083de62f7b636ccd0e0248e (patch) | |
| tree | 9ae45596806e0f4e6a16d78c9675e936b5fc278e /wrappers/python/eduvpn_common | |
| parent | c1c2011ec83553a2de7661f89383be4b29883db6 (diff) | |
All: Make WireGuard support mandatory
Diffstat (limited to 'wrappers/python/eduvpn_common')
| -rw-r--r-- | wrappers/python/eduvpn_common/loader.py | 3 | ||||
| -rw-r--r-- | wrappers/python/eduvpn_common/main.py | 12 |
2 files changed, 0 insertions, 15 deletions
diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py index 674c010..f1e27e1 100644 --- a/wrappers/python/eduvpn_common/loader.py +++ b/wrappers/python/eduvpn_common/loader.py @@ -112,9 +112,6 @@ def initialize_functions(lib: CDLL) -> None: c_char_p, c_char_p, ], c_void_p - lib.SetSupportWireguard.argtypes, lib.SetSupportWireguard.restype = [ - c_int, - ], c_void_p lib.SetState.argtypes, lib.SetState.restype = [ c_int, ], c_void_p diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py index 1494b48..3a91ebb 100644 --- a/wrappers/python/eduvpn_common/main.py +++ b/wrappers/python/eduvpn_common/main.py @@ -328,18 +328,6 @@ class EduVPN(object): if renew_err: forwardError(renew_err) - def set_support_wireguard(self, support: bool) -> None: - """Indicates whether or not the OS supports WireGuard connections. - - :param support: bool: whether or not wireguard is supported - - :raises WrappedError: An error by the Go library - """ - support_err = self.go_function(self.lib.SetSupportWireguard, support) - - if support_err: - forwardError(support_err) - def start_failover( self, gateway: str, wg_mtu: int, readrxbytes: ReadRxBytes ) -> bool: |
