Import of old SSLeay release: SSLeay 0.9.1b (unreleased)
diff --git a/tools/c_rehash b/tools/c_rehash
index cd4e26a..99ab7eb 100644
--- a/tools/c_rehash
+++ b/tools/c_rehash
@@ -4,7 +4,7 @@
 # on the command line.
 #
 
-if [ "$SSLEAY"x = "x" -o ! -x $SSLEAY ]; then
+if [ "$SSLEAY"x = "x" -o ! -x "$SSLEAY" ]; then
 	SSLEAY='ssleay'
 	export SSLEAY
 fi