Fix compile issues.
This commit is contained in:
parent
0d86e53a32
commit
1b9fbf1132
3 changed files with 6 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue