summaryrefslogtreecommitdiff
path: root/include/sql_common.h
diff options
context:
space:
mode:
authorRamil Kalimullin <ramil.kalimullin@oracle.com>2017-03-10 01:19:50 +0400
committerRamil Kalimullin <ramil.kalimullin@oracle.com>2017-03-10 01:19:50 +0400
commit2531c8dcd152bedeeebfe07d5e4a29bd84357c27 (patch)
tree25a818224d40ca50d38e8971c504b64475929d8b /include/sql_common.h
parentec2a6b6035ed842e39bcecc2c62c39758bda02fb (diff)
downloadmariadb-git-2531c8dcd152bedeeebfe07d5e4a29bd84357c27.tar.gz
BUG#25575605: SETTING --SSL-MODE=REQUIRED SENDS CREDENTIALS BEFORE VERIFYING SSL CONNECTION
MYSQL_OPT_SSL_MODE option introduced. It is set in case of --ssl-mode=REQUIRED and permits only SSL connection.
Diffstat (limited to 'include/sql_common.h')
-rw-r--r--include/sql_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sql_common.h b/include/sql_common.h
index a2ea3ac45e7..05bbb5a4f53 100644
--- a/include/sql_common.h
+++ b/include/sql_common.h
@@ -1,7 +1,7 @@
#ifndef SQL_COMMON_INCLUDED
#define SQL_COMMON_INCLUDED
-/* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -32,6 +32,7 @@ struct st_mysql_options_extention {
char *plugin_dir;
char *default_auth;
my_bool enable_cleartext_plugin;
+ unsigned int ssl_mode;
};
typedef struct st_mysql_methods