Fix from stable branch.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 28 Apr 2006 00:30:49 +0000 (00:30 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 28 Apr 2006 00:30:49 +0000 (00:30 +0000)
apps/CA.pl.in

index f8170f81bafdf91d7bad6acde323391b1f12595e..c783a6e6a541599f81b6055837514cc718496876 100644 (file)
@@ -94,6 +94,9 @@ foreach (@ARGV) {
                mkdir "${CATOP}/private", $DIRMODE;
                open OUT, ">${CATOP}/index.txt";
                close OUT;
                mkdir "${CATOP}/private", $DIRMODE;
                open OUT, ">${CATOP}/index.txt";
                close OUT;
+               open OUT, ">${CATOP}/crlnumber";
+               print OUT "01\n";
+               close OUT;
            }
            if ( ! -f "${CATOP}/private/$CAKEY" ) {
                print "CA certificate filename (or enter to create)\n";
            }
            if ( ! -f "${CATOP}/private/$CAKEY" ) {
                print "CA certificate filename (or enter to create)\n";