From c3cd512ee65b5ca56bd4f07e34df193a0beeb5ce Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 4 Nov 2009 11:19:17 +0000 Subject: [PATCH] Clock skew is only if timestamp is > now --- yarrg/commod-update-receiver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarrg/commod-update-receiver b/yarrg/commod-update-receiver index e03a918..0ae5ba8 100755 --- a/yarrg/commod-update-receiver +++ b/yarrg/commod-update-receiver @@ -129,7 +129,7 @@ foreach my $islands (values %$arches) { fail("unknown island") unless $island_found; $o{'timestamp'}= must_param('timestamp', "^([1-9]\\d{1,20})\$"); -fail("clock skew") if $o{'timestamp'} >= $now; +fail("clock skew") if $o{'timestamp'} > $now; my $indatafh= upload('data'); defined $indatafh or fail("data is not a file"); -- 2.30.2