提交 c142bdf7 编写于 作者: P Paul C. Sutton

Update scripts to use "openssl" instead of "ssleay"

上级 c9f06e7f
...@@ -33,14 +33,14 @@ ...@@ -33,14 +33,14 @@
# Steve Henson # Steve Henson
# shenson@bigfoot.com # shenson@bigfoot.com
# default ssleay.cnf file has setup as per the following # default openssl.cnf file has setup as per the following
# demoCA ... where everything is stored # demoCA ... where everything is stored
$DAYS="-days 365"; $DAYS="-days 365";
$REQ="ssleay req $SSLEAY_CONFIG"; $REQ="openssl req $SSLEAY_CONFIG";
$CA="ssleay ca $SSLEAY_CONFIG"; $CA="openssl ca $SSLEAY_CONFIG";
$VERIFY="ssleay verify"; $VERIFY="openssl verify";
$X509="ssleay x509"; $X509="openssl x509";
$CATOP="./demoCA"; $CATOP="./demoCA";
$CAKEY="cakey.pem"; $CAKEY="cakey.pem";
......
...@@ -27,14 +27,14 @@ ...@@ -27,14 +27,14 @@
# tjh@cryptsoft.com # tjh@cryptsoft.com
# #
# default ssleay.cnf file has setup as per the following # default openssl.cnf file has setup as per the following
# demoCA ... where everything is stored # demoCA ... where everything is stored
DAYS="-days 365" DAYS="-days 365"
REQ="ssleay req $SSLEAY_CONFIG" REQ="openssl req $SSLEAY_CONFIG"
CA="ssleay ca $SSLEAY_CONFIG" CA="openssl ca $SSLEAY_CONFIG"
VERIFY="ssleay verify" VERIFY="openssl verify"
X509="ssleay x509" X509="openssl x509"
CATOP=./demoCA CATOP=./demoCA
CAKEY=./cakey.pem CAKEY=./cakey.pem
......
...@@ -42,13 +42,13 @@ $md4_cmd="md4"; ...@@ -42,13 +42,13 @@ $md4_cmd="md4";
$rsa_cmd="rsa -des -inform der "; $rsa_cmd="rsa -des -inform der ";
# this was the 0.5.x way of doing things ... # this was the 0.5.x way of doing things ...
$cmd="ssleay asn1parse"; $cmd="openssl asn1parse";
$x509_cmd="ssleay x509"; $x509_cmd="openssl x509";
$crl_cmd="ssleay crl"; $crl_cmd="openssl crl";
$rc4_cmd="ssleay rc4"; $rc4_cmd="openssl rc4";
$md2_cmd="ssleay md2"; $md2_cmd="openssl md2";
$md4_cmd="ssleay md4"; $md4_cmd="openssl md4";
$rsa_cmd="ssleay rsa -des -inform der "; $rsa_cmd="openssl rsa -des -inform der ";
&Getopts('vd:') || die "usage:$0 [-v] [-d num] file"; &Getopts('vd:') || die "usage:$0 [-v] [-d num] file";
$depth=($opt_d =~ /^\d+$/)?$opt_d:0; $depth=($opt_d =~ /^\d+$/)?$opt_d:0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册