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

wolfSSL: do not call the stub function wolfSSL_BIO_set_init() #13164

Closed

Conversation

fabiankeil
Copy link
Contributor

Calling the function isn't necessary and causes the build to fail when wolfSSL has been compiled with NO_WOLFSSL_STUB:

 Making all in opts
   CCLD     curl
 ld: error: undefined symbol: wolfSSL_BIO_set_init
 >>> referenced by wolfssl.c:235 (vtls/wolfssl.c:235)
 >>>               libcurl_la-wolfssl.o:(wolfssl_bio_cf_create) in archive ../lib/.libs/libcurl.a
 cc: error: linker command failed with exit code 1 (use -v to see invocation)
 *** Error code 1

Calling the function isn't necessary and causes the build
to fail when wolfSSL has been compiled with NO_WOLFSSL_STUB:

     Making all in opts
       CCLD     curl
     ld: error: undefined symbol: wolfSSL_BIO_set_init
     >>> referenced by wolfssl.c:235 (vtls/wolfssl.c:235)
     >>>               libcurl_la-wolfssl.o:(wolfssl_bio_cf_create) in archive ../lib/.libs/libcurl.a
     cc: error: linker command failed with exit code 1 (use -v to see invocation)
     *** Error code 1
@github-actions github-actions bot added the TLS label Mar 21, 2024
@bagder bagder closed this in 0aaea58 Mar 25, 2024
@bagder
Copy link
Member

bagder commented Mar 25, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants