diff --git a/src/lib/net/SecureSocket.cpp b/src/lib/net/SecureSocket.cpp index 75fade29f..717e16652 100644 --- a/src/lib/net/SecureSocket.cpp +++ b/src/lib/net/SecureSocket.cpp @@ -365,7 +365,7 @@ void SecureSocket::initContext(bool server) } // create new context from method - SSL_METHOD *m = const_cast(method); + auto *m = const_cast(method); m_ssl->m_context = SSL_CTX_new(m); // Prevent the usage of of all version prior to TLSv1.2 as they are known to