Topic: [SOLVED] How to build to support "CYASSL_CALLBACKS"?

Hello.

( related manual page -  https://www.wolfssl.com/wolfSSL/Docs-wo … backs.html  )

I want to use wolfSSL_connect_ex() and wolfSSL_accept_ex().
But I don't know valid build option for enable CYASSL_CALLBACKS define.

Could you answer for that?

Thanks

Share

Re: [SOLVED] How to build to support "CYASSL_CALLBACKS"?

Hi sungyun,

To compile wolfSSL with support for wolfSSL_connect_ex() and wolfSSL_accept_ex(), you'll need to add WOLFSSL_CALLBACKS to your list of preprocessor defines.  If using the ./configure system, you need to add it to C_EXTRA_FLAGS like so:

cd wolfssl-3.6.6
./configure C_EXTRA_FLAGS="-DWOLFSSL_CALLBACKS"
make

Best Regards,
Chris