summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorPaul C. Sutton <paul@openssl.org>1999-01-02 15:52:11 +0000
committerPaul C. Sutton <paul@openssl.org>1999-01-02 15:52:11 +0000
commit724e095e76be5c690f0a6b44ebef8098200ca54a (patch)
tree5a463dbb309fba2dea866e193b72fd7bf7797eb7 /tools
parent794b9c8f500df40a672c353c618d61ed4a6c90bc (diff)
downloadopenssl-724e095e76be5c690f0a6b44ebef8098200ca54a.tar.gz
Various ssleay to openssl fixups
Diffstat (limited to 'tools')
-rw-r--r--tools/c_hash2
-rw-r--r--tools/c_info2
-rw-r--r--tools/c_issuer2
-rw-r--r--tools/c_name2
-rw-r--r--tools/c_rehash14
5 files changed, 11 insertions, 11 deletions
diff --git a/tools/c_hash b/tools/c_hash
index 54ff9d2cac..5e0a908175 100644
--- a/tools/c_hash
+++ b/tools/c_hash
@@ -4,6 +4,6 @@
for i in $*
do
- h=`ssleay x509 -hash -noout -in $i`
+ h=`openssl x509 -hash -noout -in $i`
echo "$h.0 => $i"
done
diff --git a/tools/c_info b/tools/c_info
index 5dd960b3a1..0e1e633b6f 100644
--- a/tools/c_info
+++ b/tools/c_info
@@ -5,7 +5,7 @@
for i in $*
do
- n=`ssleay x509 -subject -issuer -enddate -noout -in $i`
+ n=`openssl x509 -subject -issuer -enddate -noout -in $i`
echo "$i"
echo "$n"
echo "--------"
diff --git a/tools/c_issuer b/tools/c_issuer
index a885b24b7b..4c691201bb 100644
--- a/tools/c_issuer
+++ b/tools/c_issuer
@@ -5,6 +5,6 @@
for i in $*
do
- n=`ssleay x509 -issuer -noout -in $i`
+ n=`openssl x509 -issuer -noout -in $i`
echo "$i\t$n"
done
diff --git a/tools/c_name b/tools/c_name
index 4b33e68c59..28800c0b30 100644
--- a/tools/c_name
+++ b/tools/c_name
@@ -5,6 +5,6 @@
for i in $*
do
- n=`ssleay x509 -subject -noout -in $i`
+ n=`openssl x509 -subject -noout -in $i`
echo "$i $n"
done
diff --git a/tools/c_rehash b/tools/c_rehash
index 60c28595bd..739a2de550 100644
--- a/tools/c_rehash
+++ b/tools/c_rehash
@@ -4,23 +4,23 @@
# on the command line.
#
-if [ "$SSLEAY"x = "x" -o ! -x "$SSLEAY" ]; then
- SSLEAY='ssleay'
- export SSLEAY
+if [ "$OPENSSL"x = "x" -o ! -x "$OPENSSL" ]; then
+ OPENSSL='openssl'
+ export OPENSSL
fi
DIR=/usr/local/ssl
PATH=$DIR/bin:$PATH
-if [ ! -f "$SSLEAY" ]; then
+if [ ! -f "$OPENSSL" ]; then
found=0
for dir in . `echo $PATH | sed -e 's/:/ /g'`; do
- if [ -f "$dir/$SSLEAY" ]; then
+ if [ -f "$dir/$OPENSSL" ]; then
found=1
break
fi
done
if [ $found = 0 ]; then
- echo "c_rehash: rehashing skipped ('ssleay' program still not available)" 1>&2
+ echo "c_rehash: rehashing skipped ('openssl' program still not available)" 1>&2
exit 0
fi
fi
@@ -44,7 +44,7 @@ do
for i in *.pem
do
if [ $i != '*.pem' ]; then
- h=`$SSLEAY x509 -hash -noout -in $i`
+ h=`$OPENSSL x509 -hash -noout -in $i`
if [ "x$h" = "x" ]; then
echo $i does not contain a certificate
else