Change hmac method

This commit is contained in:
Dane Everitt 2016-01-22 21:56:54 -05:00
parent aac498808c
commit 7bb0190ffa

View file

@ -118,7 +118,7 @@ class APISecretToken extends Authorization
protected function _generateHMAC($body, $key) protected function _generateHMAC($body, $key)
{ {
$data = $this->method . '.' . $this->url . '.' . $body; $data = $this->method . $this->url . $body;
return hash_hmac($this->algo, $data, $key, true); return hash_hmac($this->algo, $data, $key, true);
} }