This apparently does what we want...

This commit is contained in:
fireice-uk
2017-02-08 21:20:19 +00:00
parent 2801c518b4
commit a68b2822c4
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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";
+1 -1
View File
@@ -282,7 +282,7 @@ void tls_socket::close(bool free)
if(!free)
{
SSL_shutdown(ssl);
sock_close(BIO_get_fd(bio, nullptr));
}
else
{