Find openssl utility if on the PATH.
[openssl.git] / tools / c_rehash.in
index 96a73ae..6dd3c24 100644 (file)
@@ -31,6 +31,7 @@ if(! -x $openssl) {
        foreach (split /$path_delim/, $ENV{PATH}) {
                if(-x "$_/$openssl") {
                        $found = 1;
+                       $openssl = "$_/$openssl";
                        last;
                }       
        }