Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/3rdparty.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'aws/aws-sdk-php/src/PhpHash.php')
-rw-r--r--aws/aws-sdk-php/src/PhpHash.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/aws/aws-sdk-php/src/PhpHash.php b/aws/aws-sdk-php/src/PhpHash.php
index df1314a1..7a82815a 100644
--- a/aws/aws-sdk-php/src/PhpHash.php
+++ b/aws/aws-sdk-php/src/PhpHash.php
@@ -68,7 +68,7 @@ class PhpHash implements HashInterface
private function getContext()
{
if (!$this->context) {
- $key = isset($this->options['key']) ? $this->options['key'] : null;
+ $key = isset($this->options['key']) ? $this->options['key'] : '';
$this->context = hash_init(
$this->algo,
$key ? HASH_HMAC : 0,