fix format

This commit is contained in:
Ed Lynes 2020-10-16 10:32:01 -04:00
parent 9ab16bdbb3
commit 6b20993d2a

View File

@ -440,7 +440,7 @@ _edgedns_base64_sha256() {
_debug2 "Creating sha256 digest" _debug2 "Creating sha256 digest"
trg=$1 trg=$1
_secure_debug2 "digest data" "$trg" _secure_debug2 "digest data" "$trg"
digest="$(echo "$trg" | tr -d "\n\r" | _digest "sha256")" digest="$(echo "$trg" | tr -d "\n\r" | _digest "sha256")"
_sha256_out="$(echo "$digest" | tr -d "\n\r" | iconv -f utf-8)" _sha256_out="$(echo "$digest" | tr -d "\n\r" | iconv -f utf-8)"
_secure_debug2 "digest decode" "$_sha256_out" _secure_debug2 "digest decode" "$_sha256_out"
} }