Skip to content

cpkt 0.4.0

Choose a tag to compare

@sa6mwa sa6mwa released this 17 Oct 11:29

cpkt 0.4.0 updates bundled OpenSSL to 3.6.5 and fixes pthread key-slot retention when completely unloading a plugin containing a private static OpenSSL instance.

  • Release the initialized master thread-local key at the end of OpenSSL global teardown. Per-thread cleanup continues to preserve state used by other threads.
  • Cover automatic and explicit cleanup, repeated cleanup, thread reuse, worker shutdown, complete unload, and preservation of unrelated host keys with native CTest regressions.
  • Keep the public C API and shared-library ABI unchanged. The core compatibility floor remains 0.2.0.

Plugins that statically embed OpenSSL must be relinked against the updated SDK to receive the fix. All threads using a private OpenSSL instance must stop using it before that instance is globally cleaned up and unloaded.

The release includes seven target SDKs, the source archive, a Darwin smoke-test bundle, and a SHA-256 checksum manifest.