MXS-2483: Make some SSLContext methods const

The serialization and opening of a new SSL session can be const.
This commit is contained in:
Markus Mäkelä
2019-05-20 10:39:55 +03:00
parent 76399200f4
commit 08bb5d009d
2 changed files with 3 additions and 3 deletions

View File

@ -236,7 +236,7 @@ SSLContext::SSLContext(const std::string& key, const std::string& cert, const st
{
}
std::string SSLContext::serialize()
std::string SSLContext::serialize() const
{
std::stringstream ss;
ss << "ssl=required\n";