Skip to content

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

Closed
fabiankeil wants to merge 1 commit into
curl:masterfrom
fabiankeil:build-without-wolfssl-stubs
Closed

fabiankeil wants to merge 1 commit into
curl:masterfrom
fabiankeil:build-without-wolfssl-stubs

Conversation

@fabiankeil

Copy link
Copy Markdown
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
Comment thread lib/vtls/wolfssl.c
@bagder bagder closed this in 0aaea58 Mar 25, 2024
@bagder

bagder commented Mar 25, 2024

Copy link
Copy Markdown
Member

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.

3 participants