Skip to content

Commit

Permalink
MDEV-8481 mysql-test - main.func_crypt fails if FIPS=1
Browse files Browse the repository at this point in the history
disable the test when crypt(3) doesn't work
  • Loading branch information
vuvova committed Apr 24, 2016
1 parent 78989b6 commit 906f97d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 5 additions & 4 deletions mysql-test/include/have_crypt.inc
@@ -1,4 +1,5 @@
-- 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);
}
2 changes: 0 additions & 2 deletions mysql-test/r/have_crypt.require

This file was deleted.

0 comments on commit 906f97d

Please sign in to comment.