Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Commit

Permalink
Fixed #3.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Oct 23, 2014
1 parent 4ed37a0 commit 9bcc6d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Signer/Signer.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ private function createStringToSign($self_key, $client_id, $scope, $context)
{
/** @var string */
return sprintf(
"SIGNER-HMAC-SHA512\n%s\n%s\n%s\n%s",
"SIGNER-HMAC-%s\n%s\n%s\n%s\n%s",
strtoupper($this->hash_algo),
$self_key,
$client_id,
hash($this->hash_algo, $scope),
Expand Down

0 comments on commit 9bcc6d2

Please sign in to comment.