aboutsummaryrefslogtreecommitdiffstats
path: root/apps/CA.sh
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-02-01 23:48:37 +0000
committerAndy Polyakov <appro@openssl.org>2005-02-01 23:48:37 +0000
commit62d27939c2f103654b52a83b17febe968a67ec73 (patch)
treee6be6a7d5bdb754d840776066d28d8a98154c316 /apps/CA.sh
parent8c3c570134336e915b2b6aeb2203f034f5a29a01 (diff)
downloadopenssl-62d27939c2f103654b52a83b17febe968a67ec73.tar.gz
Address run-time linker problems: LD_PRELOAD issue on multi-ABI platforms
and SafeDllSearchMode in Windows. Submitted by: Richard Levitte
Diffstat (limited to 'apps/CA.sh')
-rw-r--r--apps/CA.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/CA.sh b/apps/CA.sh
index e63a2267ee..46e86bf94b 100644
--- a/apps/CA.sh
+++ b/apps/CA.sh
@@ -30,12 +30,14 @@
# default openssl.cnf file has setup as per the following
# demoCA ... where everything is stored
+if [ -z "$OPENSSL" ]; then OPENSSL=openssl; fi
+
DAYS="-days 365" # 1 year
CADAYS="-days 1095" # 3 years
-REQ="openssl req $SSLEAY_CONFIG"
-CA="openssl ca $SSLEAY_CONFIG"
-VERIFY="openssl verify"
-X509="openssl x509"
+REQ="$OPENSSL req $SSLEAY_CONFIG"
+CA="$OPENSSL ca $SSLEAY_CONFIG"
+VERIFY="$OPENSSL verify"
+X509="$OPENSSL x509"
CATOP=./demoCA
CAKEY=./cakey.pem