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/ctx.cpp | |
| 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/ctx.cpp')
| -rw-r--r-- | src/ctx.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ctx.cpp b/src/ctx.cpp index 6172b3c8..1e97e58a 100644 --- a/src/ctx.cpp +++ b/src/ctx.cpp @@ -126,6 +126,15 @@ void projCtx_t::set_search_paths(const std::vector<std::string>& search_paths_in } } +/**************************************************************************/ +/* set_ca_bundle_path() */ +/**************************************************************************/ + +void projCtx_t::set_ca_bundle_path(const std::string& ca_bundle_path_in) +{ + ca_bundle_path = ca_bundle_path_in; +} + /************************************************************************/ /* projCtx_t(const projCtx_t& other) */ /************************************************************************/ @@ -142,6 +151,7 @@ projCtx_t::projCtx_t(const projCtx_t& other) file_finder_legacy = other.file_finder_legacy; file_finder_user_data = other.file_finder_user_data; networking = other.networking; + ca_bundle_path = other.ca_bundle_path; } /************************************************************************/ |
