mariadb/mysql-test/main/ssl_encrypted_key.test
Vladislav Vaintroub ff63885b60 MDEV-14091 - Address review comments
- Return error when reading file-based password from locations readable
  by LOAD DATA or LOAD_FILE().

- If ssl_passphrase was set, SHOW VARIABLE will show "file:", "env:" or
  "pass:" (but won't reveal sensitive data)
2025-03-18 18:28:20 +01:00

6 lines
405 B
Text

-- source include/have_ssl_communication.inc
--replace_result env pass file pass
SELECT @@ssl_passphrase;
--exec $MYSQL --ssl -e "SELECT (VARIABLE_VALUE <> '') as have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher'" 2>&1
FLUSH SSL;
--exec $MYSQL --ssl -e "SELECT (VARIABLE_VALUE <> '') as have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS WHERE VARIABLE_NAME='Ssl_cipher'" 2>&1