【发布时间】:2016-02-11 06:57:48
【问题描述】:
我构建 libcurl 并运行它,但是当服务器需要摘要身份验证时它不起作用。
我检查了 C 代码,发现以下部分(在 http.c 中的 output_auth_headers 函数中)没有构建:
#ifndef CURL_DISABLE_CRYPTO_AUTH
if(authstatus->picked == CURLAUTH_DIGEST) {
auth="Digest";
result = Curl_output_digest(conn,
proxy,
(const unsigned char *)request,
(const unsigned char *)path);
if(result)
return result;
}
else
#endif
我应该怎么做才能使这部分代码构建然后让摘要运行?
【问题讨论】: