diff options
author | fireice-uk <fireice2@o2.pl> | 2017-03-14 20:31:23 +0000 |
---|---|---|
committer | fireice-uk <fireice2@o2.pl> | 2017-03-14 20:31:23 +0000 |
commit | 15bba85ef9af05dbb95ff32474d9937bbeae52ea (patch) | |
tree | 9c639e10c73be7b781133ae73169c3bb2ae8d389 /cli-miner.cpp | |
parent | e4f5318768d1987056b156f7eb45596d80af19c3 (diff) | |
download | xmr-stak-15bba85ef9af05dbb95ff32474d9937bbeae52ea.zip xmr-stak-15bba85ef9af05dbb95ff32474d9937bbeae52ea.tar.gz |
CONF_NO_TLS option
Diffstat (limited to 'cli-miner.cpp')
-rw-r--r-- | cli-miner.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 <stdio.h> #include <string.h> +#ifndef CONF_NO_TLS #include <openssl/ssl.h> #include <openssl/err.h> +#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; |