diff options
author | Andy Polyakov <appro@openssl.org> | 2005-02-02 02:48:37 +0300 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-02-02 02:48:37 +0300 |
commit | 62d27939c2f103654b52a83b17febe968a67ec73 (patch) | |
tree | e6be6a7d5bdb754d840776066d28d8a98154c316 /apps/CA.pl.in | |
parent | 8c3c570134336e915b2b6aeb2203f034f5a29a01 (diff) |
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.pl.in')
-rw-r--r-- | apps/CA.pl.in | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/apps/CA.pl.in b/apps/CA.pl.in index b09820755d..5d829c05eb 100644 --- a/apps/CA.pl.in +++ b/apps/CA.pl.in @@ -36,14 +36,22 @@ # default openssl.cnf file has setup as per the following # demoCA ... where everything is stored +my $openssl; +if(defined $ENV{OPENSSL}) { + $openssl = $ENV{OPENSSL}; +} else { + $openssl = "openssl"; + $ENV{OPENSSL} = $openssl; +} + $SSLEAY_CONFIG=$ENV{"SSLEAY_CONFIG"}; $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"; -$PKCS12="openssl pkcs12"; +$REQ="$openssl req $SSLEAY_CONFIG"; +$CA="$openssl ca $SSLEAY_CONFIG"; +$VERIFY="$openssl verify"; +$X509="$openssl x509"; +$PKCS12="$openssl pkcs12"; $CATOP="./demoCA"; $CAKEY="cakey.pem"; |