Fix ssl_version

The parameter used wrong keywords for the enum values. The comparison
should be changed to be case-insensitive to prevent similar problems.
This commit is contained in:
Markus Mäkelä 2018-08-11 22:31:50 +03:00
parent 33488e1a1f
commit 4a47b4f334
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -251,11 +251,11 @@ static const MXS_ENUM_VALUE ssl_version_values[] =
{
{"MAX", 1},
#ifndef OPENSSL_1_1
{"TLSV10", 1},
{"TLSv10", 1},
#endif
#ifdef OPENSSL_1_0
{"TLSV11", 1},
{"TLSV12", 1},
{"TLSv11", 1},
{"TLSv12", 1},
#endif
{NULL}
};