Commit 906f97d3 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-8481 mysql-test - main.func_crypt fails if FIPS=1

disable the test when crypt(3) doesn't work
parent 78989b67
-- require r/have_crypt.require
disable_query_log;
show variables like 'have_crypt';
enable_query_log;
# encrypt('a') is NULL if crypt(3) is not available
# encrypt('a') is "*0" in fips mode
if (`select length(encrypt('a')) > 3 IS NOT TRUE`) {
skip No crypt(3);
}
Variable_name Value
have_crypt YES
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment