Check for $OPENSSL in md5 fallback too.

This commit is contained in:
Darren Tucker 2021-06-02 11:21:40 +10:00
parent 1db69d1b65
commit 5de0867b82
1 changed files with 2 additions and 0 deletions

View File

@ -327,6 +327,8 @@ md5 () {
cksum
elif have_prog sum; then
sum
elif [ -x ${OPENSSL} ]; then
${OPENSSL} md5
else
wc -c
fi