1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-8482 mysql-test - main.func_encrypt fails if FIPS=1

* check for openssl errors in DES_ENCRYPT/DES_DECRYPT
* disable the test when DES doesn't work
* also disable main.func_des_encrypt
This commit is contained in:
Sergei Golubchik
2016-04-22 13:13:48 +02:00
parent 906f97d310
commit 797cadce47
4 changed files with 14 additions and 6 deletions

View File

@ -0,0 +1,6 @@
# in the FIPS mode, OpenSSL disables DES and other weak algorithms
source include/have_ssl_crypto_functs.inc;
if (`select des_encrypt("a", "b") IS NULL`) {
skip DES is disabled (fips mode?);
}