diff --git a/libretroshare/src/pqi/pqissl.cc b/libretroshare/src/pqi/pqissl.cc index 44a09d0c4..da15deeb1 100644 --- a/libretroshare/src/pqi/pqissl.cc +++ b/libretroshare/src/pqi/pqissl.cc @@ -202,8 +202,10 @@ int pqissl::reset() out << "pqissl::reset() Shutting down SSL Connection"; out << std::endl; if (quietShutdown) { - ssl_connection->quiet_shutdown; + ssl_connection->quiet_shutdown = 1; + SSL_shutdown(ssl_connection); } else { + ssl_connection->quiet_shutdown = 0; SSL_shutdown(ssl_connection); }