chore: SecureSocket, use auto where possible

This commit is contained in:
sithlord48
2025-04-27 12:55:10 -04:00
committed by Nick Bolton
parent da6e110b69
commit 0d3f7248ed

View File

@ -365,7 +365,7 @@ void SecureSocket::initContext(bool server)
}
// create new context from method
SSL_METHOD *m = const_cast<SSL_METHOD *>(method);
auto *m = const_cast<SSL_METHOD *>(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