fix for the boot issue in openvpn_get_engines(); closes #1038

This commit is contained in:
Fabian Franz 2016-06-27 19:15:40 +02:00 committed by Franco Fichtner
parent 92bf3f2aee
commit ae4dfa6778

View File

@ -193,7 +193,7 @@ function openvpn_get_digestlist()
function openvpn_get_engines()
{
$openssl_engines = array('none' => 'No Hardware Crypto Acceleration');
exec('/usr/local/bin/openssl engine -t -c', $openssl_engine_output);
exec('/usr/local/bin/openssl engine -t -c 2> /dev/null', $openssl_engine_output);
if (!count($openssl_engine_output)) {
/* LibreSSL doesn't offer anything of value */