aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Zot6
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-11-06 21:44:57 -0800
committerzotlabs <mike@macgirvin.com>2018-11-06 21:44:57 -0800
commita5483a03c90967eea58f5a0db17c59c4ec3ff2ff (patch)
treef6eeea81ff1770c0178f7946fbbf2823b000839e /Zotlabs/Zot6
parentbb8b3b92913832750a393533f491725b4330a8e1 (diff)
downloadvolse-hubzilla-a5483a03c90967eea58f5a0db17c59c4ec3ff2ff.tar.gz
volse-hubzilla-a5483a03c90967eea58f5a0db17c59c4ec3ff2ff.tar.bz2
volse-hubzilla-a5483a03c90967eea58f5a0db17c59c4ec3ff2ff.zip
fix signatures
Diffstat (limited to 'Zotlabs/Zot6')
-rw-r--r--Zotlabs/Zot6/HTTPSig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Zot6/HTTPSig.php b/Zotlabs/Zot6/HTTPSig.php
index 6d52e5033..72785b1e9 100644
--- a/Zotlabs/Zot6/HTTPSig.php
+++ b/Zotlabs/Zot6/HTTPSig.php
@@ -162,7 +162,7 @@ class HTTPSig {
if(! $x) {
logger('verify failed for ' . $result['signer'] . ' alg=' . $algorithm . (($key['public_key']) ? '' : ' no key'));
- $sig_block['signature'] = base64url_encode($sig_block['signature']);
+ $sig_block['signature'] = base64_encode($sig_block['signature']);
logger('affected sigblock: ' . print_r($sig_block,true));
logger('signed_data: ' . print_r($signed_data,true));
logger('headers: ' . print_r($headers,true));