diff options
author | Rich Salz <rsalz@openssl.org> | 2016-05-25 14:59:10 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-06-02 21:12:50 +0200 |
commit | b1ffe8dbeef2e233707a78847494769cbe305821 (patch) | |
tree | 7deb4305b9c8e2c00992e28ffe218bfb74671016 /tools | |
parent | Build the 'openssl rehash' command on VMS version 8.3 and up (diff) | |
download | openssl-b1ffe8dbeef2e233707a78847494769cbe305821.tar.xz openssl-b1ffe8dbeef2e233707a78847494769cbe305821.zip |
GH1123: sort dir before rehash
This is needed to generate stable output names/symlinks.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/c_rehash.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/c_rehash.in b/tools/c_rehash.in index a23a8f3f22..949e44f075 100644 --- a/tools/c_rehash.in +++ b/tools/c_rehash.in @@ -109,7 +109,7 @@ sub hash_dir { print "Doing $_[0]\n"; chdir $_[0]; opendir(DIR, "."); - my @flist = readdir(DIR); + my @flist = sort readdir(DIR); closedir DIR; if ( $removelinks ) { # Delete any existing symbolic links |