Skip to content

Stdlib: openssl_csr_export JIT/AOT bake leftover of #6421 (#32697) - #32700

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-32697-openssl-csr-export-aot
Aug 20, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/issue-32697-openssl-csr-export-aot

Conversation

@PurHur

@PurHur PurHur commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Summary

php-src: ext/openssl/xp.c PHP_FUNCTION(openssl_csr_export) / PHP_FUNCTION(openssl_csr_export_to_file) / PEM_write_bio_X509_REQ.

Closes #32697

Test plan

  • ./script/aot-smoke.sh — 8 passed, 0 failed
  • vendor/bin/phpunit --filter 'OpensslCsrExportAotTest|OpensslCsrExportToFileAotTest|OpensslX509RuntimeShrinkTest' — OK (8 tests, 44 assertions)
  • AOT fixtures test/fixtures/aot/cases/openssl_csr_export.phpt and openssl_csr_export_to_file.phpt

Did not run ci-fast.sh, full AotTest, or north-star5-verify --strict. Capability matrix rows for these two builtins were patched by hand; a full capability-matrix.php run in this container omits optional extensions (curl/intl) that committed docs still list.

Made with Cursor

Thin-standalone AOT has no FFI, so bake CSR PEM from a compile-time request in the compiler process (peer openssl_x509_export). No new runtime C.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit ab1797f into master Aug 20, 2026
1 check failed
@PurHur
PurHur deleted the agent/issue-32697-openssl-csr-export-aot branch August 20, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stdlib: openssl_csr_export()/openssl_csr_export_to_file() JIT leftover of #6421 — AOT LogicException (ext/openssl/xp.c)

1 participant