mirror of
https://github.com/ClusterM/open-bamboo-networking.git
synced 2026-10-19 01:29:46 -05:00
cloud_ca_bundle: fix stale references in comments
The header pointed at a nonexistent cmake/EmbedCloudCaBundle.cmake, and connect_cloud() credited CloudSession::configure() with the verification flags that actually live in CloudSession::start().
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -2,7 +2,8 @@
|
||||
|
||||
// A standard, Mozilla-derived root CA bundle (the same one curl.se
|
||||
// publishes at https://curl.se/ca/cacert.pem, vendored at
|
||||
// resources/cacert.pem and compiled in by cmake/EmbedCloudCaBundle.cmake).
|
||||
// resources/cacert.pem and compiled in by the top-level CMakeLists.txt via
|
||||
// cmake/cloud_ca_bundle_data.cpp.in).
|
||||
//
|
||||
// Why this exists: on Windows, vcpkg's static OpenSSL build ships no
|
||||
// default trust store, so mosquitto has nothing to validate the cloud
|
||||
|
||||
+1
-1
@@ -2735,7 +2735,7 @@ int Agent::connect_cloud()
|
||||
// DigiCert Global Root G2) -- it needs a normal CA bundle, not
|
||||
// anything Bambu-specific. Write out the vendored bundle (see
|
||||
// cloud_ca_bundle.hpp) and use that, with full chain + hostname
|
||||
// verification (CloudSession::configure() no longer skips either
|
||||
// verification (CloudSession::start() no longer skips either
|
||||
// check now that this hands it a trust anchor that actually
|
||||
// validates the real chain).
|
||||
std::string cloud_ca;
|
||||
|
||||
Reference in new issue
Block a user