diff options
author | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2022-02-22 12:34:58 +0100 |
---|---|---|
committer | Julius Goryavsky <julius.goryavsky@mariadb.com> | 2022-02-23 13:03:31 +0100 |
commit | a3da3c8a0b1113d941f837cce0615673b95fb9f2 (patch) | |
tree | b20429167ccff6d9b647945a61451570140ab852 /sql/sql_select.cc | |
parent | 8b7abe21e041d616ddb5a68652bc96e97b3eed44 (diff) | |
download | mariadb-git-a3da3c8a0b1113d941f837cce0615673b95fb9f2.tar.gz |
MDEV-26377: Stricter validation of ssl-mode values
This commit adds validation of the values of the ssl-mode parameter
in SSL scripts, since now only a basic check for the presence of the
"VERIFY_" prefix is performed there to detect "VERIFY_IDENTITY" and
"VERIFY_CA", but all other values are not checked at all.
In addition, this commit removes leading and trailing spaces from
parameter values that SST scripts read from configuration files or
from the command line so that they do not interfere with parameter
checks and substitutions. Parameter substitution has been made more
robust against characters in strings that the shell might erroneously
interpret as regexp.
Diffstat (limited to 'sql/sql_select.cc')
0 files changed, 0 insertions, 0 deletions