fix for solaris

This commit is contained in:
neilpang
2017-01-31 14:04:40 +08:00
parent 646c0bfcb9
commit 1c22c2f76a
3 changed files with 3 additions and 3 deletions

View File

@ -183,7 +183,7 @@ aws_rest() {
_debug2 kSecret "$kSecret"
kSecretH="$(printf "%s" "$kSecret" | _hex_dump | sed "s/ //g")"
kSecretH="$(printf "%s" "$kSecret" | _hex_dump | tr -d " ")"
_debug2 kSecretH "$kSecretH"
kDateH="$(printf "$RequestDateOnly%s" | _hmac "$Hash" "$kSecretH" hex)"