CONF_NO_TLS option

This commit is contained in:
fireice-uk
2017-03-14 20:31:23 +00:00
parent e4f5318768
commit 15bba85ef9
4 changed files with 21 additions and 0 deletions
+4
View File
@@ -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;