From cf3b089fcc5b860b66974b762ea503bab36ac39a Mon Sep 17 00:00:00 2001 From: Jean Paul Galea Date: Tue, 15 Sep 2015 19:54:23 +0000 Subject: [PATCH] Drop some comments. - not really helpful, better to just depend on what the code does. --- ykval-verify.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ykval-verify.php b/ykval-verify.php index 66d5044..0956197 100644 --- a/ykval-verify.php +++ b/ykval-verify.php @@ -417,10 +417,6 @@ if ($syncres == False) sendResp(S_NOT_ENOUGH_ANSWERS, $myLog, $apiKey, $extra); } -/* Recreate parameters to make phising test work out - TODO: use timefunctionality in deltatime library instead */ - -// check the time stamp if ($otpParams['yk_counter'] == $localParams['yk_counter'] && $otpParams['yk_use'] > $localParams['yk_use']) { $ts = ($otpParams['yk_high'] << 16) + $otpParams['yk_low']; @@ -428,7 +424,6 @@ if ($otpParams['yk_counter'] == $localParams['yk_counter'] && $otpParams['yk_use $tsDiff = $ts - $seenTs; $tsDelta = $tsDiff * TS_SEC; - // check the real time $now = time(); $elapsed = $now - $localParams['modified']; $deviation = abs($elapsed - $tsDelta);