diff options
| author | Alan D. Snow <alansnow21@gmail.com> | 2020-08-16 05:30:58 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-16 12:30:58 +0200 |
| commit | e1dc2d5516562c2e6e9668325d897c0eccdc6d2a (patch) | |
| tree | 0e5da750934ae01c11af2acb8edbf460c6ee2b50 /src/proj_internal.h | |
| parent | b8c198897da30e59d41f7b9ccb66bc1b0079e5d8 (diff) | |
| download | PROJ-e1dc2d5516562c2e6e9668325d897c0eccdc6d2a.tar.gz PROJ-e1dc2d5516562c2e6e9668325d897c0eccdc6d2a.zip | |
ENH: Add support for custum CA Bundle path (#2323)
Fixes #2320
Diffstat (limited to 'src/proj_internal.h')
| -rw-r--r-- | src/proj_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/proj_internal.h b/src/proj_internal.h index 738e8ac0..3a0db980 100644 --- a/src/proj_internal.h +++ b/src/proj_internal.h @@ -725,6 +725,7 @@ struct projCtx_t { struct projCppContext* cpp_context = nullptr; /* internal context for C++ code */ int use_proj4_init_rules = -1; /* -1 = unknown, 0 = no, 1 = yes */ int epsg_file_exists = -1; /* -1 = unknown, 0 = no, 1 = yes */ + std::string ca_bundle_path{}; std::string env_var_proj_lib{}; // content of PROJ_LIB environment variable. Use Filemanager::getProjLibEnvVar() to access std::vector<std::string> search_paths{}; @@ -758,6 +759,7 @@ struct projCtx_t { projCtx_t& operator= (const projCtx_t&) = delete; void set_search_paths(const std::vector<std::string>& search_paths_in); + void set_ca_bundle_path(const std::string& ca_bundle_path_in); static projCtx_t createDefault(); }; |
