mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-25 05:58:46 +01:00
CONF_NO_TLS option
This commit is contained in:
@@ -103,10 +103,14 @@ jpsock::jpsock(size_t id, bool tls) : pool_id(id)
|
||||
|
||||
prv = new opaque_private(bJsonCallMem, bJsonRecvMem, bJsonParseMem);
|
||||
|
||||
#ifndef CONF_NO_TLS
|
||||
if(tls)
|
||||
sck = new tls_socket(this);
|
||||
else
|
||||
sck = new plain_socket(this);
|
||||
#else
|
||||
sck = new plain_socket(this);
|
||||
#endif
|
||||
|
||||
oRecvThd = nullptr;
|
||||
bRunning = false;
|
||||
|
||||
Reference in New Issue
Block a user