1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-04-20 22:02:46 -04:00

Fix compile issues.

This commit is contained in:
XMRig
2019-03-16 13:10:04 +07:00
parent 0d86e53a32
commit 1b9fbf1132
3 changed files with 6 additions and 6 deletions

View File

@@ -150,13 +150,13 @@ bool xmrig::Client::Tls::send()
bool xmrig::Client::Tls::verify(X509 *cert)
{
if (cert == nullptr) {
LOG_ERR("[%s] Failed to get server certificate", m_client->m_pool.url());
LOG_ERR("[%s] Failed to get server certificate", m_client->url());
return false;
}
if (!verifyFingerprint(cert)) {
LOG_ERR("[%s] Failed to verify server certificate fingerprint", m_client->m_pool.url());
LOG_ERR("[%s] Failed to verify server certificate fingerprint", m_client->url());
const char *fingerprint = m_client->m_pool.fingerprint();
if (strlen(m_fingerprint) == 64 && fingerprint != nullptr) {