Skip to content

Commit ac1d117

Browse files
authored
fix: Call setConfig on a net driver during setCertsPath method (#437)
* fix: Call setConfig on a net driver during setCertsPath method * chore: Fix compilation errors
1 parent 0137dc3 commit ac1d117

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

endpoint/core/src/Config.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ limitations under the License.
1010
*/
1111

1212
#include "privmx/endpoint/core/Config.hpp"
13-
13+
#include "privmx/rpc/channel/DrvNetConfig.hpp"
1414
#include <privmx/crypto/OpenSSLUtils.hpp>
1515

1616
using namespace privmx::endpoint::core;
1717

1818
void Config::setCertsPath(const std::string& certsPath) {
1919
crypto::OpenSSLUtils::CaLocation = certsPath;
20+
privmx::rpc::DrvNetConfig::setConfig("caCertPath=" + certsPath);
2021
}

0 commit comments

Comments
 (0)