Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 8e36ff0f58e379b2faf673f76cd9c144 > files > 5

rootcerts-20110902.00-0.1.mga1.src.rpm

--- generate-cacerts.pl.2	2009-03-23 18:01:32.000000000 +0100
+++ generate-cacerts.pl	2009-03-23 18:23:14.000000000 +0100
@@ -310,6 +310,7 @@
         if ($write_current_cert == 1)
         {
             $pem_file_count++;
+            $cert_alias .= "-alt" while -e "$cert_alias.pem";
             open(PEM, ">$cert_alias.pem");
             print PEM $cert;
         }