mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 18:11:05 +00:00
Fixed build without TLS support.
This commit is contained in:
parent
60f6817d21
commit
83a7a88b11
1 changed files with 2 additions and 0 deletions
|
@ -137,10 +137,12 @@ void xmrig::DaemonClient::onHttpData(const HttpData &data)
|
|||
|
||||
m_ip = static_cast<const HttpContext &>(data).ip().c_str();
|
||||
|
||||
# ifdef XMRIG_FEATURE_TLS
|
||||
if (isTLS()) {
|
||||
m_tlsVersion = static_cast<const HttpsClient &>(data).version();
|
||||
m_tlsFingerprint = static_cast<const HttpsClient &>(data).fingerprint();
|
||||
}
|
||||
# endif
|
||||
|
||||
rapidjson::Document doc;
|
||||
if (doc.Parse(data.body.c_str()).HasParseError()) {
|
||||
|
|
Loading…
Reference in a new issue