diff --git a/server/core/ssl.cc b/server/core/ssl.cc index 0ffad7123..8e2132364 100644 --- a/server/core/ssl.cc +++ b/server/core/ssl.cc @@ -40,13 +40,13 @@ static RSA* rsa_1024 = NULL; const MXS_ENUM_VALUE ssl_version_values[] = { - {"MAX", 1}, + {"MAX", SERVICE_SSL_TLS_MAX}, #ifndef OPENSSL_1_1 - {"TLSv10", 1}, + {"TLSv10", SERVICE_TLS10 }, #endif #ifdef OPENSSL_1_0 - {"TLSv11", 1}, - {"TLSv12", 1}, + {"TLSv11", SERVICE_TLS11 }, + {"TLSv12", SERVICE_TLS12 }, #endif {NULL} };