Skip to content

Commit a1ddcba

Browse files
committedMay 21, 2018
Fix wrong WITH_SSL naming
1 parent 839bc51 commit a1ddcba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎common.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ char *password=NULL;
2323
char *socket_path=NULL;
2424
char *db=NULL;
2525
char *defaults_file=NULL;
26-
#ifdef WITH_MYSSL
26+
#ifdef WITH_SSL
2727
char *key=NULL;
2828
char *cert=NULL;
2929
char *ca=NULL;
@@ -52,7 +52,7 @@ GOptionEntry common_entries[] =
5252
{ "version", 'V', 0, G_OPTION_ARG_NONE, &program_version, "Show the program version and exit", NULL },
5353
{ "verbose", 'v', 0, G_OPTION_ARG_INT, &verbose, "Verbosity of output, 0 = silent, 1 = errors, 2 = warnings, 3 = info, default 2", NULL },
5454
{ "defaults-file", 0, 0, G_OPTION_ARG_FILENAME, &defaults_file, "Use a specific defaults file", NULL },
55-
#ifdef WITH_MYSSL
55+
#ifdef WITH_SSL
5656
{ "ssl", 0, 0, G_OPTION_ARG_NONE, &ssl, "Connect using SSL", NULL},
5757
{ "key", 0, 0, G_OPTION_ARG_STRING, &key, "The path name to the key file", NULL },
5858
{ "cert", 0, 0, G_OPTION_ARG_STRING, &cert, "The path name to the certificate file", NULL },

‎config.h.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#cmakedefine VERSION "@VERSION@"
55
#cmakedefine WITH_BINLOG
6-
#cmakedefine WITH_MYSSL
6+
#cmakedefine WITH_SSL
77

88
#if defined(LIBMYSQL_VERSION)
99
#define MYSQL_VERSION_STR LIBMYSQL_VERSION

0 commit comments

Comments
 (0)
Please sign in to comment.