This commit is contained in:
Ermal 2014-08-20 17:18:27 +00:00
parent 847fe30412
commit f950a06222

View File

@ -255,7 +255,7 @@ if ($_POST) {
if (!count($ealgos)) {
$input_errors[] = gettext("At least one encryption algorithm must be selected.");
} else {
if (empty($pconfig['halgo'])) {
if (empty($pconfig['halgos'])) {
foreach ($ealgos as $ealgo) {
if (!strpos($ealgo['name'], "gcm")) {
$input_errors[] = gettext("At least one hashing algorithm needs to be selected.");