summaryrefslogtreecommitdiff
path: root/CommModule
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-02-25 08:37:13 +0100
committerBenny Baumann <BenBE@geshi.org>2015-01-21 22:43:01 +0100
commit546f6208610ccffde501565177c76c3f739febd8 (patch)
treec7e828a05582d351feb15b3f8ea91165c8914299 /CommModule
parent00ae63b22b97efbe5702bf346b3d87d0353cd09d (diff)
downloadcacert-devel-546f6208610ccffde501565177c76c3f739febd8.tar.gz
cacert-devel-546f6208610ccffde501565177c76c3f739febd8.tar.xz
cacert-devel-546f6208610ccffde501565177c76c3f739febd8.zip
bug 775: changed teh duration date for the organisation certificates to 2 years for each type.
Diffstat (limited to 'CommModule')
-rwxr-xr-xCommModule/client.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CommModule/client.pl b/CommModule/client.pl
index 25e6a73..9e91c46 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");