Skip to content

add BoringSSL support#7

Open
LukasKastern wants to merge 15 commits into
allyourcodebase:masterfrom
LukasKastern:boringssl
Open

add BoringSSL support#7
LukasKastern wants to merge 15 commits into
allyourcodebase:masterfrom
LukasKastern:boringssl

Conversation

@LukasKastern

@LukasKastern LukasKastern commented May 10, 2026

Copy link
Copy Markdown

This PR integrates boringssl.
I've been using a variation of these changes for a while now.
I would like to upstream these changes to avoid relying on my fork in other projects.

Compile as

zig build -Dtarget=x86_64-windows -Doptimize=ReleaseFast -Dlibpsl=false -Dlibssh2=false -Dlibidn2=false -Dnghttp2=false -Ddisable-ldap -Duse-boringssl=true

And run

./zig-out/bin/curl https://httpbin.org/uuid

Output

{
  "uuid": "1e7c8860-cdab-4e05-881a-763665242b79"
}

Ideally we wait until the following PRs are merged to avoid relying on my forks in the boringssl repository.

@Techatrix Techatrix 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.

I just merged a PR that updated googletest to Zig 0.16.0 so this should be unblocked.

I'd prefer to keep the dependencies within the allyourcodebase organization if possible. Which would allow me and other members to more easily contribute if needed. Would you be open to join allyourcodebase and then contribute your boringssl port to it? More information on how to join can be found here:

https://github.com/allyourcodebase#im-a-zig-user-and-i-want-to-contribute-a-repository-how-can-i-do-it

Comment thread build.zig Outdated
@LukasKastern

Copy link
Copy Markdown
Author

I just merged a PR that updated googletest to Zig 0.16.0 so this should be unblocked.

I'd prefer to keep the dependencies within the allyourcodebase organization if possible. Which would allow me and other members to more easily contribute if needed. Would you be open to join allyourcodebase and then contribute your boringssl port to it? More information on how to join can be found here:

https://github.com/allyourcodebase#im-a-zig-user-and-i-want-to-contribute-a-repository-how-can-i-do-it

That makes sense! I'll update boringssl to use the merged googletest and ping kristoff about joining the org and moving the project over.

@LukasKastern LukasKastern marked this pull request as ready for review July 12, 2026 15:41
@LukasKastern

Copy link
Copy Markdown
Author

I moved boringssl to the allyourcodebase org.
Let me know if you'd like me to revert the ca_bundle change or do any other changes!

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.

2 participants