mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-09-03 07:13:48 +00:00
The Chocolatey openssl package hardcodes a versioned slproweb URL in its install script, and slproweb keeps only the newest build of each OpenSSL branch. Every OpenSSL release therefore deletes the file the current package points at, and "windows with SSL" fails at the install step with a 404 until someone respins the package. That is what broke the job today: the package is still at 4.0.1 while slproweb has moved to 4.0.2. slproweb publishes a JSON manifest of its current downloads, linked from the download page and updated at the same time as the files themselves. Read that and take the newest 64-bit 4.x installer from it, so the URL is always live. The SHA512 in the manifest is verified before the installer runs. The silent flags are the ones the Chocolatey package used. /DIR pins the install location that the CMake step already finds, instead of relying on a registry lookup. PATH and OPENSSL_CONF are exported the same way the package set them. Staying on 4.x is deliberate: it keeps this job on the OpenSSL 4.0 series rather than dropping to the 3.6 that vcpkg would provide.