mirror of https://github.com/moparisthebest/curl
build: fix --disable-crypto-auth
Reported-by: Wyatt O'Day Fixes #1945 Closes #1947
This commit is contained in:
parent
3e492e03b3
commit
7bc5308db3
|
@ -1453,7 +1453,7 @@ enum dupstring {
|
||||||
STRING_PROXY_SERVICE_NAME, /* Proxy service name */
|
STRING_PROXY_SERVICE_NAME, /* Proxy service name */
|
||||||
#endif
|
#endif
|
||||||
#if !defined(CURL_DISABLE_CRYPTO_AUTH) || defined(USE_KERBEROS5) || \
|
#if !defined(CURL_DISABLE_CRYPTO_AUTH) || defined(USE_KERBEROS5) || \
|
||||||
defined(USE_SPNEGO)
|
defined(USE_SPNEGO) || defined(HAVE_GSSAPI)
|
||||||
STRING_SERVICE_NAME, /* Service name */
|
STRING_SERVICE_NAME, /* Service name */
|
||||||
#endif
|
#endif
|
||||||
STRING_MAIL_FROM,
|
STRING_MAIL_FROM,
|
||||||
|
|
|
@ -1059,6 +1059,7 @@ bool Curl_none_false_start(void)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CURL_DISABLE_CRYPTO_AUTH
|
||||||
CURLcode Curl_none_md5sum(unsigned char *input, size_t inputlen,
|
CURLcode Curl_none_md5sum(unsigned char *input, size_t inputlen,
|
||||||
unsigned char *md5sum, size_t md5len UNUSED_PARAM)
|
unsigned char *md5sum, size_t md5len UNUSED_PARAM)
|
||||||
{
|
{
|
||||||
|
@ -1073,6 +1074,15 @@ CURLcode Curl_none_md5sum(unsigned char *input, size_t inputlen,
|
||||||
Curl_MD5_final(MD5pw, md5sum);
|
Curl_MD5_final(MD5pw, md5sum);
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
CURLcode Curl_none_md5sum(unsigned char *input UNUSED_PARAM,
|
||||||
|
size_t inputlen UNUSED_PARAM,
|
||||||
|
unsigned char *md5sum UNUSED_PARAM,
|
||||||
|
size_t md5len UNUSED_PARAM)
|
||||||
|
{
|
||||||
|
return CURLE_NOT_BUILT_IN;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int Curl_multissl_init(void)
|
static int Curl_multissl_init(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue