diff options
| author | David Lönnhager <david.l@mullvad.net> | 2020-06-11 13:53:25 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2020-06-11 15:31:57 +0200 |
| commit | 9742344ce30a135d2475d8231fe72bb45f06d155 (patch) | |
| tree | a059b114fffa7cace10c050f6e944a21ce0f6cc0 /mullvad-daemon/src | |
| parent | 4e9cace12939e6a906a238554a5779604d10e3e7 (diff) | |
| download | mullvadvpn-9742344ce30a135d2475d8231fe72bb45f06d155.tar.xz mullvadvpn-9742344ce30a135d2475d8231fe72bb45f06d155.zip | |
Pass a single relay client path to WinFw
Diffstat (limited to 'mullvad-daemon/src')
| -rw-r--r-- | mullvad-daemon/src/lib.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs index 9b1854d4a3..e8edcbcafa 100644 --- a/mullvad-daemon/src/lib.rs +++ b/mullvad-daemon/src/lib.rs @@ -564,8 +564,6 @@ where tunnel_state_machine_shutdown_tx, #[cfg(target_os = "android")] android_context, - #[cfg(windows)] - Self::get_approved_applications(), ) .map_err(Error::TunnelError)?; @@ -636,16 +634,6 @@ where Ok(daemon) } - #[cfg(windows)] - fn get_approved_applications() -> Vec<PathBuf> { - let resource_dir = mullvad_paths::get_resource_dir(); - vec![ - resource_dir.join("mullvad-daemon.exe"), - resource_dir.join("openvpn.exe"), - resource_dir.join("sslocal.exe"), - ] - } - /// Consume the `Daemon` and run the main event loop. Blocks until an error happens or a /// shutdown event is received. pub fn run(mut self) -> Result<(), Error> { |
