Merge branch 'bug-775' into testserver-stable
[cacert-devel.git] / CommModule / client.pl
index 08d7c6e..64c3c7f 100755 (executable)
@@ -832,7 +832,7 @@ sub HandleCerts($$)
       SysLog "SAN: --$SAN--\n" if($debug);
       SysLog "memid: $row{'memid'}\n" if($debug);
 
-      my $days=$org?($server?(30):7):calculateDays($row{"memid"});
+      my $days=$org?30:calculateDays($row{"memid"});
 
       my $md_id = 0;
       $md_id = 1 if( $row{'md'} eq "md5");