Cleanup and added integrated tls config params parsing
This commit is contained in:
parent
16fff2fd51
commit
be293d72cd
16 changed files with 72 additions and 40 deletions
|
@ -56,7 +56,7 @@ Network::Network(const Options *options) :
|
|||
|
||||
const std::vector<Url*> &pools = options->pools();
|
||||
|
||||
#ifndef XMRIG_NO_SSL_TLS
|
||||
#ifndef XMRIG_NO_TLS
|
||||
ssl_init();
|
||||
#endif
|
||||
|
||||
|
@ -80,7 +80,7 @@ Network::Network(const Options *options) :
|
|||
|
||||
Network::~Network()
|
||||
{
|
||||
#ifndef XMRIG_NO_SSL_TLS
|
||||
#ifndef XMRIG_NO_TLS
|
||||
ssl_destroy();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue