From: Andrew McNab Date: Thu, 12 Jan 2006 11:52:02 +0000 (+0000) Subject: Put in 5 minute window for VOMS attributes which are not yet valid X-Git-Tag: after_merge_from_branch_1_1_0_RC15~6 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=4c30c216177410ee80510dd3d2d220755f1ae12c;p=jra1mw.git Put in 5 minute window for VOMS attributes which are not yet valid --- diff --git a/org.gridsite.core/src/grst_x509.c b/org.gridsite.core/src/grst_x509.c index 4bbdc04..6054734 100644 --- a/org.gridsite.core/src/grst_x509.c +++ b/org.gridsite.core/src/grst_x509.c @@ -544,7 +544,7 @@ int GRSTx509ParseVomsExt(int *lastcred, int maxcreds, size_t credlen, if (actime2 < time2_time) time2_time = actime2; time(&time_now); - if ((time1_time > time_now) || (time2_time < time_now)) + if ((time1_time > time_now + 300) || (time2_time < time_now)) continue; /* expiration isnt invalidity ...? */ for (i=1; ; ++i)