Blame SOURCES/openssl-1.0.0-beta4-ca-dir.patch

a5ef24
diff -up openssl-1.0.0-beta4/apps/CA.pl.in.ca-dir openssl-1.0.0-beta4/apps/CA.pl.in
a5ef24
--- openssl-1.0.0-beta4/apps/CA.pl.in.ca-dir	2006-04-28 02:30:49.000000000 +0200
a5ef24
+++ openssl-1.0.0-beta4/apps/CA.pl.in	2009-11-12 12:33:13.000000000 +0100
a5ef24
@@ -53,7 +53,7 @@ $VERIFY="$openssl verify";
a5ef24
 $X509="$openssl x509";
a5ef24
 $PKCS12="$openssl pkcs12";
a5ef24
 
a5ef24
-$CATOP="./demoCA";
a5ef24
+$CATOP="/etc/pki/CA";
a5ef24
 $CAKEY="cakey.pem";
a5ef24
 $CAREQ="careq.pem";
a5ef24
 $CACERT="cacert.pem";
a5ef24
diff -up openssl-1.0.0-beta4/apps/CA.sh.ca-dir openssl-1.0.0-beta4/apps/CA.sh
a5ef24
--- openssl-1.0.0-beta4/apps/CA.sh.ca-dir	2009-10-15 19:27:47.000000000 +0200
a5ef24
+++ openssl-1.0.0-beta4/apps/CA.sh	2009-11-12 12:35:14.000000000 +0100
a5ef24
@@ -68,7 +68,7 @@ VERIFY="$OPENSSL verify"
a5ef24
 X509="$OPENSSL x509"
a5ef24
 PKCS12="openssl pkcs12"
a5ef24
 
a5ef24
-if [ -z "$CATOP" ] ; then CATOP=./demoCA ; fi
a5ef24
+if [ -z "$CATOP" ] ; then CATOP=/etc/pki/CA ; fi
a5ef24
 CAKEY=./cakey.pem
a5ef24
 CAREQ=./careq.pem
a5ef24
 CACERT=./cacert.pem
a5ef24
diff -up openssl-1.0.0-beta4/apps/openssl.cnf.ca-dir openssl-1.0.0-beta4/apps/openssl.cnf
a5ef24
--- openssl-1.0.0-beta4/apps/openssl.cnf.ca-dir	2009-11-12 12:33:13.000000000 +0100
a5ef24
+++ openssl-1.0.0-beta4/apps/openssl.cnf	2009-11-12 12:33:13.000000000 +0100
a5ef24
@@ -39,7 +39,7 @@ default_ca	= CA_default		# The default c
a5ef24
 ####################################################################
a5ef24
 [ CA_default ]
a5ef24
 
a5ef24
-dir		= ./demoCA		# Where everything is kept
a5ef24
+dir		= /etc/pki/CA		# Where everything is kept
a5ef24
 certs		= $dir/certs		# Where the issued certs are kept
a5ef24
 crl_dir		= $dir/crl		# Where the issued crl are kept
a5ef24
 database	= $dir/index.txt	# database index file.