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