Import of old SSLeay release: SSLeay 0.9.0b
[openssl.git] / tools / c_rehash
index 007600152c5a78a5476f75bdb2bd1c7ae8b12061..cd4e26a49be393ee2826ac3827ebe7c99062c4fa 100644 (file)
@@ -4,12 +4,12 @@
 # on the command line.
 #
 
-if [ "$SSLEAY"x = "x" ]; then
+if [ "$SSLEAY"x = "x" -o ! -x $SSLEAY ]; then
        SSLEAY='ssleay'
        export SSLEAY
 fi
 DIR=/usr/local/ssl
-#PATH=$DIR/bin:$PATH
+PATH=$DIR/bin:$PATH
 
 SSL_DIR=$DIR/certs