mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
797cadce47
* check for openssl errors in DES_ENCRYPT/DES_DECRYPT * disable the test when DES doesn't work * also disable main.func_des_encrypt
6 lines
196 B
PHP
6 lines
196 B
PHP
# 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?);
|
|
}
|