-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
libCurl build fails with CURL_DISABLE_CRYPTO_AUTH and USE_SSL (causes vtls.c to fail to compile) #1945
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
Labels
Comments
I am also seeing this when compiling for android, iOS, or macOS. |
Let me know if (any of) you have any feedback or comments on my proposed fix. If not, I'll merge it soonish. |
Everything works now with that commit, thanks. |
Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I did this
Defined both
CURL_DISABLE_CRYPTO_AUTH
andUSE_SSL
.I expected the following
A successful compilation. Instead I get the following errors:
curl/libcurl version
7.56.0
operating system
Windows, Visual Studio 2017.
A solution (but maybe not the best solution)
In vtls.c add
#ifndef CURL_DISABLE_CRYPTO_AUTH
around theCurl_none_md5sum
function. Then setCurl_ssl_multi
md5sum parameter toNULL
(instead ofCurl_none_md5sum
). Do the same forCurl_ssl_schannel
md5sum parameter.The text was updated successfully, but these errors were encountered: