Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add boringssl support #256

Open
calvin2021y opened this issue Dec 25, 2024 · 1 comment
Open

add boringssl support #256

calvin2021y opened this issue Dec 25, 2024 · 1 comment

Comments

@calvin2021y
Copy link

build with boringssl error:

src/alloc.c:67:5: error: call to undeclared function 'CRYPTO_set_mem_functions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   67 |     CRYPTO_set_mem_functions(crypto_malloc, crypto_realloc, crypto_free);
      |     ^
1 error generated.
make[2]: *** [CMakeFiles/tlsuv.dir/src/alloc.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
src/openssl/keys.c:24:10: fatal error: 'openssl/param_build.h' file not found
   24 | #include <openssl/param_build.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
src/openssl/engine.c:32:10: fatal error: 'openssl/types.h' file not found
   32 | #include <openssl/types.h>
      |          ^~~~~~~~~~~~~~~~~
@ekoby
Copy link
Member

ekoby commented Dec 27, 2024

boringSSL has been forked from OpenSSL 1.0.x, so it is not compatible with OpenSSL 3.x API

it is probably easier to introduce boringSSL/openssl1.x engine than to make current OpenSSL engine work with either

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

No branches or pull requests

2 participants