Skip to content

Releases: GmSSL/GmSSL-PHP

GmSSL-PHP 1.1.1

Choose a tag to compare

@guanzhi guanzhi released this 04 Jun 13:25

Release 1.1.1

This release keeps GmSSL-PHP as a standalone PHP extension distributed from GitHub source tags with PECL-style package metadata.

Fixes

  • Fixed PHP 8 named-parameter reflection for gmssl_cert_verify_by_ca_cert by renaming the third parameter to sm2_id.
  • Removed the stale gmssl/aead.h include and updated SM3/SM2/X.509 code paths for current GmSSL 3.1.x headers.
  • Added compatibility fallbacks for older PHP builds missing ZEND_PARSE_PARAMETERS_NONE and PHP 8 builds where CONST_CS is no longer defined.
  • Added gmssl_sm2_private_key_info_to_pem and gmssl_sm2_private_key_info_from_pem for unencrypted SM2 private-key PEM files.
  • Improved ./configure GmSSL detection with pkg-config, --with-gmssl=DIR, GMSSL_DIR, and common install prefixes.

CI

  • Added GitHub Actions coverage for Linux x64, Windows x64, and macOS ARM64 builds.

Notes

  • Local macOS build verification passed with GmSSL installed under /usr/local.
  • Local make test could not run because the local Homebrew PHP executable is missing libicuio.74.dylib; CI is configured to run tests on clean runners.

v1.1.0

Choose a tag to compare

@guanzhi guanzhi released this 08 Sep 06:49
Delete gmssl.php