1

(8 replies, posted in wolfSSL)

I found the root cause of that linker issue, these api's are guarded by OPENSSL_ALL. I need to use OPENSSL_ALL preprocessor to resolve this error.
Thanks for your support.

2

(8 replies, posted in wolfSSL)

Yes WolfSSL DLL created along with all the examples present in solution.

3

(8 replies, posted in wolfSSL)

I tried by including wolfssl/wolfcrypt/settings.h in my application but still getting same error.
I am using default user_settings header present at IDE/WIN folder.

Thanks,
Ashwini

4

(8 replies, posted in wolfSSL)

Thanks Eric for your response.

Initially I was including using "options.h" in my application, after initial failure I tried with "user_settings.h" as well but still observed the same error.

I compiled wolfssl solution "wolfssl64.sln" in visual studio 2019 with c++17. I am compiling DLL Release and DLL Debug configuration. I have also compiled libcurl with same configuration.

Some macros which my application is using was not added in openssl/ssl.h, so I added those macros in openssl/ssl.h like
# define DTLS1_MT_HELLO_VERIFY_REQUEST    3
# define SSL_CTRL_SET_MSG_CALLBACK           15
# define SSL_CTRL_SET_MSG_CALLBACK_ARG   16

I am getting below error while building my application
1>****.obj : error LNK2001: unresolved external symbol wolfSSL_CTX_callback_ctrl
1>****.obj : error LNK2001: unresolved external symbol wolfSSL_CTX_ctrl
1>****.dll : fatal error LNK1120: 2 unresolved externals


Thanks,
Ashwini

I have started migrating one of my project from openssl to wolfssl, but I am facing linking error for WOLFSSL_CTX_ctrl and WOLFSSL_CTX_callback_ctrl. I have include the wolfssl.lib as well.