From e1dc2d5516562c2e6e9668325d897c0eccdc6d2a Mon Sep 17 00:00:00 2001 From: "Alan D. Snow" Date: Sun, 16 Aug 2020 05:30:58 -0500 Subject: ENH: Add support for custum CA Bundle path (#2323) Fixes #2320 --- src/ctx.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/ctx.cpp') 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& 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; } /************************************************************************/ -- cgit v1.2.3