1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Revert "MDEV-14027: Determine TLS/SSL library version"

This reverts commit 7b02cbb721.
This commit is contained in:
Georg Richter
2017-10-15 09:30:24 +02:00
parent 7b02cbb721
commit 3b297e08c9
7 changed files with 13 additions and 45 deletions

View File

@@ -3708,9 +3708,15 @@ my_bool STDCALL mariadb_get_infov(MYSQL *mysql, enum mariadb_value value, void *
break;
case MARIADB_TLS_LIBRARY:
#ifdef HAVE_TLS
*((char **)arg)= tls_library_version;
#ifdef HAVE_GNUTLS
*((const char **)arg)= "GNUTLS";
#elif HAVE_OPENSSL
*((const char **)arg)= "OPENSSL";
#elif HAVE_SCHANNEL
*((const char **)arg)= "SCHANNEL";
#endif
#else
*((char **)arg)= "Off";
*((char **)arg)= "OFF";
#endif
break;
case MARIADB_CLIENT_VERSION: