MXS-2483: Minor SSL usage cleanup

Changed getter function return values to std::string, converted
MXS_CONFIG_PARAMETER::set_from_list to take std::strings instead of const
char pointers.
This commit is contained in:
Markus Mäkelä
2019-05-17 17:19:05 +03:00
parent 82add11e86
commit c78e907da0
4 changed files with 10 additions and 9 deletions

View File

@ -2167,7 +2167,7 @@ void MXS_CONFIG_PARAMETER::set_multiple(const MXS_CONFIG_PARAMETER& source)
}
}
void MXS_CONFIG_PARAMETER::set_from_list(std::vector<std::pair<const char*, const char*>> list,
void MXS_CONFIG_PARAMETER::set_from_list(std::vector<std::pair<std::string, std::string>> list,
const MXS_MODULE_PARAM* module_params)
{
// Add custom values.