oops, we're not sure the key exists.

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/251/head
Maxence Lange 2018-12-20 11:43:08 -01:00
rodzic 4bda4a242e
commit df4fbf9589
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -270,7 +270,7 @@ class SignatureService {
$estimated = $this->generateEstimatedSignature($headers, $request);
$algorithm = 'sha256';
if ($sign['algorithm'] === 'rsa-sha256') {
if ($this->get('algorithm', $sign, '') === 'rsa-sha256') {
$algorithm = 'sha256';
}