Skip to content

support build --enable-opensslextra with NO_BIO and NO_FILESYSTEM #10393

Open
JacobBarthelmeh wants to merge 2 commits intowolfSSL:masterfrom
JacobBarthelmeh:opensslextra
Open

support build --enable-opensslextra with NO_BIO and NO_FILESYSTEM #10393
JacobBarthelmeh wants to merge 2 commits intowolfSSL:masterfrom
JacobBarthelmeh:opensslextra

Conversation

@JacobBarthelmeh
Copy link
Copy Markdown
Contributor

No description provided.

@JacobBarthelmeh JacobBarthelmeh self-assigned this May 4, 2026
Copilot AI review requested due to automatic review settings May 4, 2026 21:28
Copy link
Copy Markdown

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fenrir Automated Review — PR #10393

Scan targets checked: wolfssl-bugs, wolfssl-src

No new issues found in the changed files. ✅

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts OpenSSL-compat and API tests so --enable-opensslextra builds cleanly when both NO_BIO and NO_FILESYSTEM are enabled. It primarily narrows test/build coverage to configurations that still have the required I/O backends, while making a couple of DER-only helpers available without BIO support.

Changes:

  • Guard filesystem-dependent TLS API tests so they are skipped when NO_FILESYSTEM is enabled.
  • Guard the BIO-only EC test block so it is skipped when NO_BIO is enabled.
  • Relax internal compile guards in pk_ec.c/pk_rsa.c and add a CI matrix entry for --enable-opensslextra --disable-filesystem CPPFLAGS="-DNO_BIO".

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/api/test_tls13.c Skips several cert-file-based TLS 1.3 tests when filesystem support is disabled.
tests/api/test_tls.c Skips a TLS 1.2 cert-file-based test when filesystem support is disabled.
tests/api/test_ossl_ec.c Wraps a BIO-dependent EC public-key decode check with #ifndef NO_BIO.
src/pk.c Restricts DER→PEM helper compilation to configs with either BIO or filesystem output available.
src/pk_rsa.c Makes the internal DER-to-RSA loader available independent of BIO/filesystem guards.
src/pk_ec.c Makes DER-based EC parameter decode/encode available without requiring BIO support.
.github/workflows/os-check.yml Adds CI coverage for OPENSSL_EXTRA + NO_BIO + NO_FILESYSTEM.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

MemBrowse Memory Report

No memory changes detected for:

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.

3 participants