Skip to content

wolfssl, revert to 5.9.1 - #22269

Closed
icing wants to merge 2 commits into
curl:masterfrom
icing:wolfssl-revert-to-5.9.1
Closed

icing wants to merge 2 commits into
curl:masterfrom
icing:wolfssl-revert-to-5.9.1

Conversation

@icing

@icing icing commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

v5.9.2 introduce a regresssion that made test311 fail, seemingly failing to parse the server certificate.

v5.9.2 introduce a regresssion that made test311 fail, seemingly
failing to parse the server certificate.
@github-actions github-actions Bot added the CI Continuous Integration label Jul 6, 2026
@icing

icing commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Ok, the failing macOS test is on a wolfSSL 5.9.2 supplied by homebrew. Dang.

Hmm, I can reproduce that my own build of 5.9.2 fails on my macos dev machine. But why are the 5.9.2 on linux and http3 CI jobs not failing? Strange...

@curl curl deleted a comment from testclutch Jul 6, 2026
@icing
icing requested a review from vszakats July 6, 2026 11:04

@vszakats vszakats left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The locally built 5.9.2 we patch with the upstream fix for test 311,
I fixed in 03f9751, after
wolfSSL merged theirs.

For macOS, yes, that must have hit CI after Homebrew
bumped to 5.9.2, agree with the tflags there.

@icing

icing commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Ah, that explains why we do not see the bug in the linux/http3 runs.

@icing

icing commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

In hindsight, we should probably not locally patch dependencies in our master branch. Seems confusing.

@vszakats

vszakats commented Jul 6, 2026 •

Copy link
Copy Markdown
Member

In hindsight, we should probably not locally patch dependencies in our master branch. Seems confusing.

It's been done before with local dependency builds, it did not occure to me it's an
issue.

I find the flow of unexpected updates from dependencies often surprising and
breaking things (without/with a local patch, which is super rare). But Homebrew
does not have an option to pin to version.

Since this may hit anyone using 5.9.2 now or in the future while trying to run tests,
maybe 311 could be disabled for this specific wolfSSL version? (it's not a libtest
so this is a bit tricky). Or the curl mitigation applied to curl for this version, on
debug builds only?

edit: we may also try using Nix in CI, but it was very slow to install last time I
checked, and a massive dependency, with custom Actions and whatnot. Also
annoying to test because the local install is intrusive, with components running
as daemons. Are there other deterministic options?

@vszakats vszakats closed this in 7183bec Jul 9, 2026
@vszakats

vszakats commented Jul 9, 2026

Copy link
Copy Markdown
Member

Thanks, merged the macOS part. We can delete it once Homebrew bumps to >5.9.2.

vszakats added a commit that referenced this pull request Jul 9, 2026
To fix this for everyone running curl tests.

Also: drop workarounds for CI.

Refs:
wolfSSL/wolfssl#10793
wolfSSL/wolfssl@7dd269f

Ref: #22269 (comment)
Follow-up to 7183bec #22269
Follow-up to 03f9751 #22204

Closes #22286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration

Development

Successfully merging this pull request may close these issues.

2 participants