diff --git a/MasterPassword/C/build b/MasterPassword/C/build index 0c83ed8a..14763d81 100755 --- a/MasterPassword/C/build +++ b/MasterPassword/C/build @@ -33,11 +33,7 @@ fi ### DEPENDENCIES digest() { - if hash xxd 2>/dev/null; then - openssl sha1 -binary < "$1" | xxd -p - else - openssl sha1 < "$1" | sed 's/.* //' - fi + openssl sha1 -binary < "$1" | od -t x1 -An -v | tr -d '[:space:]' } fetch() { if hash wget 2>/dev/null; then