diff options
author | jim-p <jimp@pfsense.org> | 2017-05-13 08:58:12 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-05-13 08:58:12 -0400 |
commit | f8339acfe2cee4546ae1a7db491a3b54c2f4c5a1 (patch) | |
tree | 5c7f3976c1c79ee819ff33c91a44d61ff71a107e /src | |
parent | a84e59a27094e3ccc4f13b596ff1bb80e3ae267a (diff) | |
download | pfsense-f8339acfe2cee4546ae1a7db491a3b54c2f4c5a1.zip pfsense-f8339acfe2cee4546ae1a7db491a3b54c2f4c5a1.tar.gz |
Fix active AES-NI test. Ticket #7529
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/includes/functions.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/includes/functions.inc.php b/src/usr/local/www/includes/functions.inc.php index de4d95e..8ee4c08 100644 --- a/src/usr/local/www/includes/functions.inc.php +++ b/src/usr/local/www/includes/functions.inc.php @@ -250,11 +250,10 @@ function get_cpu_crypto_support() { exec("/usr/bin/grep -c ' Features.*AESNI' /var/log/dmesg.boot", $cpucrypto_present); if ($cpucrypto_present[0] > 0) { $cpucrypto_type .= "Yes "; - $cpucrypto_type .= ($cpucrypto_active) ? "(active)" : "(inactive)"; + $cpucrypto_type .= (is_module_loaded('aesni')) ? "(active)" : "(inactive)"; } else { $cpucrypto_type .= "No"; } - $cpucrypto_active = is_module_loaded('aesni'); case 'arm': $armplatform = get_single_sysctl('hw.platform'); if (in_array($armplatform, $accelerated_arm_platforms)) { |