missing return false to fail if signature is expired

This commit is contained in:
Ralf Becker 2013-01-29 22:44:31 +00:00
parent 1f0523e522
commit 17a46f71b0

View File

@ -508,6 +508,7 @@ class ischedule_server extends groupdav
if (isset($dkim['x']) && (!is_numeric($dkim['x']) || $dkim['x'] < time())) if (isset($dkim['x']) && (!is_numeric($dkim['x']) || $dkim['x'] < time()))
{ {
$error = "DKIM signature is expired x=$dkim[x] < ".time(); $error = "DKIM signature is expired x=$dkim[x] < ".time();
return false;
} }
return true; return true;