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:
Alexey Cluster committed 2026-09-27 22:19:20 +02:00
1 parent b55fea84f1
commit df2039b1e1
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -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
View File
@@ -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;