diff options
author | fireice-uk <fireice2@o2.pl> | 2017-02-08 00:09:54 +0000 |
---|---|---|
committer | fireice-uk <fireice2@o2.pl> | 2017-02-08 21:20:19 +0000 |
commit | a68b2822c46aaeaefa7057545835b0ae76ea50b0 (patch) | |
tree | 93dbbaee52e8c608c7164f4834c4f4058548a0e3 | |
parent | 2801c518b4f184f5761ca33227b69fc82eb62ef8 (diff) | |
download | xmr-stak-a68b2822c46aaeaefa7057545835b0ae76ea50b0.zip xmr-stak-a68b2822c46aaeaefa7057545835b0ae76ea50b0.tar.gz |
This apparently does what we want...
-rw-r--r-- | cli-miner.cpp | 1 | ||||
-rw-r--r-- | socket.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cli-miner.cpp b/cli-miner.cpp index ac58ecf..4245de4 100644 --- a/cli-miner.cpp +++ b/cli-miner.cpp @@ -47,6 +47,7 @@ int main(int argc, char *argv[]) { SSL_library_init(); SSL_load_error_strings(); + ERR_load_BIO_strings(); OpenSSL_add_all_digests(); const char* sFilename = "config.txt"; @@ -282,7 +282,7 @@ void tls_socket::close(bool free) if(!free) { - SSL_shutdown(ssl); + sock_close(BIO_get_fd(bio, nullptr)); } else { |