summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorJulius Goryavsky <julius.goryavsky@mariadb.com>2022-02-22 12:34:58 +0100
committerJulius Goryavsky <julius.goryavsky@mariadb.com>2022-02-23 13:03:31 +0100
commita3da3c8a0b1113d941f837cce0615673b95fb9f2 (patch)
treeb20429167ccff6d9b647945a61451570140ab852 /sql
parent8b7abe21e041d616ddb5a68652bc96e97b3eed44 (diff)
downloadmariadb-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')
0 files changed, 0 insertions, 0 deletions