Find openssl utility if on the PATH.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 22 Apr 2009 16:50:42 +0000 (16:50 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 22 Apr 2009 16:50:42 +0000 (16:50 +0000)
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;
                }       
        }