-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce new_faster_hash() and remove most use of cat
The old Master-hash will cat the file-list in one instance of cat and then pipe the output to SSL for single hash. This requires one subshell. The new Master-hash opens the entire file-list one instance of SSL and hashes each file to a hash-list. This hash-list hashed by piping it to a second SSL. This requires one subsell. Open hash-files with read instead of cat. Requires one less subshell. Re-instate master_verify_hash_block=1 to block excess use. Signed-off-by: Richard T Bonhomme <[email protected]>
- Loading branch information
1 parent
371b8ce
commit 747094d
Showing
1 changed file
with
109 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
747094d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#272