summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-02-25 08:37:13 +0100
committerBernhard Fröhlich <bernhard@cacert.org>2019-07-21 23:52:13 +0200
commit799266bcfe58fc4da30a5c534827466c4f5d9c2a (patch)
tree6f9688f403d83989feabee27c5e31a2400d6a2c9
parentd328ebd6ad641a9caf4c80208a14d3b8f768edc0 (diff)
downloadcacert-devel-799266bcfe58fc4da30a5c534827466c4f5d9c2a.tar.gz
cacert-devel-799266bcfe58fc4da30a5c534827466c4f5d9c2a.tar.xz
cacert-devel-799266bcfe58fc4da30a5c534827466c4f5d9c2a.zip
bug 775: changed teh duration date for the organisation certificates to 2 years for each type.
-rwxr-xr-xCommModule/client.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommModule/client.pl b/CommModule/client.pl
index 0874477..4d85b48 100755
--- a/CommModule/client.pl
+++ b/CommModule/client.pl
@@ -832,7 +832,7 @@ sub HandleCerts($$)
SysLog "SAN: --$SAN--\n" if($debug);
SysLog "memid: $row{'memid'}\n" if($debug);
- my $days=$org?($server?(365*2):365):calculateDays($row{"memid"});
+ my $days=$org?730:calculateDays($row{"memid"});
my $md_id = 0;
$md_id = 1 if( $row{'md'} eq "md5");