projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update README file a little bit...
[openssl.git]
/
tools
/
c_rehash
diff --git
a/tools/c_rehash
b/tools/c_rehash
index 60c28595bd026f2a5f84d986fa1ca7dbbfc9dfcb..739a2de5507dd71c928dcc5f3f6060a9ea88173f 100644
(file)
--- a/
tools/c_rehash
+++ b/
tools/c_rehash
@@
-4,23
+4,23
@@
# on the command line.
#
# 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
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
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
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
exit 0
fi
fi
@@
-44,7
+44,7
@@
do
for i in *.pem
do
if [ $i != '*.pem' ]; then
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
if [ "x$h" = "x" ]; then
echo $i does not contain a certificate
else