You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I compile and use this according to README, I require to have OpenSSL headers on my system. This is also issue because
some macros have been changed to functions by BoringSSL and the generated zig function is wrong.
For example this OpenSSL definition
which should correctly be compiled by translateC to extern symbol.
Another issue is that the new BoringSSL functions are missing. For example SSL_CTX_set_select_certificate_cb is not present in zig file at all.
I have tried ensuring that no system headers are used (by removing /usr/include/openssl) and gotten error error: 'openssl/ssl.h' not found. So then I tried adding boringssl headers lib_ssl_c.addIncludePath(boringssl_dependency.artifact("ssl").getEmittedIncludeTree()); . But this resulted in many compilation errors.
Activity
[-]Dependency on system headers[/-][+]Dependency on system OpenSSL headers[/+]psznm commentedon Aug 13, 2026
I also noticed this was fixed on branch 0.16-adjustments (minus info in README)
LukasKastern commentedon Aug 13, 2026
Hey @psznm! Thanks for reporting this.
The changes in 0.16-adjustments should do the trick.
I've just opened #14 which includes those commits and should document the proper usage.
Let me know if that resolves it for you!
psznm commentedon Aug 13, 2026
Yes it does, thank you!