diff options
| author | Emīls <emils@mullvad.net> | 2020-05-07 12:16:38 +0100 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2020-05-07 14:24:43 +0100 |
| commit | 4123ad55dc4124373c540bdd5a0c2ba7bb4aa41a (patch) | |
| tree | e0322f25ffd4008f8a3e0507dea7adc0dcc80630 /mullvad-paths | |
| parent | c9dfec0bcd9d1ba9663e6bf08407440598e896c6 (diff) | |
| download | mullvadvpn-4123ad55dc4124373c540bdd5a0c2ba7bb4aa41a.tar.xz mullvadvpn-4123ad55dc4124373c540bdd5a0c2ba7bb4aa41a.zip | |
Use embeded TLS certificates
Diffstat (limited to 'mullvad-paths')
| -rw-r--r-- | mullvad-paths/src/resources.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mullvad-paths/src/resources.rs b/mullvad-paths/src/resources.rs index 2ae2e5e2b6..ed6845bdf0 100644 --- a/mullvad-paths/src/resources.rs +++ b/mullvad-paths/src/resources.rs @@ -1,7 +1,5 @@ use std::{env, path::PathBuf}; -pub const API_CA_FILENAME: &str = "api_root_ca.pem"; - pub fn get_resource_dir() -> PathBuf { match env::var_os("MULLVAD_RESOURCE_DIR") { Some(path) => PathBuf::from(path), @@ -31,7 +29,3 @@ pub fn get_default_resource_dir() -> PathBuf { PathBuf::from(crate::APP_PATH) } } - -pub fn get_api_ca_path() -> PathBuf { - get_resource_dir().join(API_CA_FILENAME) -} |
