]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/HTTPSignature.php
Merge branch '2019.01-rc' into bug/6334-escape-get-app
[friendica.git] / src / Util / HTTPSignature.php
index 956d6ff3728d36b4d55a8b8abe4f81c406f636ce..07ff5e805d9b3293c921786d7ac195ac6ea02ff5 100644 (file)
@@ -204,6 +204,8 @@ class HTTPSignature
 
                if (preg_match('/algorithm="(.*?)"/ism', $header, $matches)) {
                        $ret['algorithm'] = $matches[1];
+               } else {
+                       $ret['algorithm'] = 'rsa-sha256';
                }
 
                if (preg_match('/headers="(.*?)"/ism', $header, $matches)) {