summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@openssl.org>1998-12-22 16:59:57 +0100
committerRalf S. Engelschall <rse@openssl.org>1998-12-22 16:59:57 +0100
commit13e91dd365887c7ff26dc3ff18d42266e5393f2d (patch)
treecec94d3f90051b9b1fff763af1889d5588a5ef67 /tools
parent*** empty log message *** (diff)
downloadopenssl-13e91dd365887c7ff26dc3ff18d42266e5393f2d.tar.xz
openssl-13e91dd365887c7ff26dc3ff18d42266e5393f2d.zip
Incorporation of RSEs assembled patches
Diffstat (limited to 'tools')
-rw-r--r--tools/c_rehash14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/c_rehash b/tools/c_rehash
index 99ab7ebaa1..60c28595bd 100644
--- a/tools/c_rehash
+++ b/tools/c_rehash
@@ -11,6 +11,20 @@ fi
DIR=/usr/local/ssl
PATH=$DIR/bin:$PATH
+if [ ! -f "$SSLEAY" ]; then
+ found=0
+ for dir in . `echo $PATH | sed -e 's/:/ /g'`; do
+ if [ -f "$dir/$SSLEAY" ]; then
+ found=1
+ break
+ fi
+ done
+ if [ $found = 0 ]; then
+ echo "c_rehash: rehashing skipped ('ssleay' program still not available)" 1>&2
+ exit 0
+ fi
+fi
+
SSL_DIR=$DIR/certs
if [ "$*" = "" ]; then