From 15bba85ef9af05dbb95ff32474d9937bbeae52ea Mon Sep 17 00:00:00 2001 From: fireice-uk Date: Tue, 14 Mar 2017 20:31:23 +0000 Subject: CONF_NO_TLS option --- cli-miner.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cli-miner.cpp') diff --git a/cli-miner.cpp b/cli-miner.cpp index 5e19755..9eec369 100644 --- a/cli-miner.cpp +++ b/cli-miner.cpp @@ -32,8 +32,10 @@ #include #include +#ifndef CONF_NO_TLS #include #include +#endif //Do a press any key for the windows folk. *insert any key joke here* #ifdef _WIN32 @@ -54,12 +56,14 @@ void do_benchmark(); int main(int argc, char *argv[]) { +#ifndef CONF_NO_TLS SSL_library_init(); SSL_load_error_strings(); ERR_load_BIO_strings(); ERR_load_crypto_strings(); SSL_load_error_strings(); OpenSSL_add_all_digests(); +#endif const char* sFilename = "config.txt"; bool benchmark_mode = false; -- cgit v1.1