aboutsummaryrefslogtreecommitdiffstats
path: root/include/salmon.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-25 16:37:27 -0700
committerFriendika <info@friendika.com>2011-08-25 16:37:27 -0700
commit21c03fb5220d2190a8a764d5430c6fa8bc013860 (patch)
treea5739e2c79eb2564053aacf939f1b9d218cf09dc /include/salmon.php
parent1b33ba6587766d939ac37c1ca60aa5c012e4da9d (diff)
downloadvolse-hubzilla-21c03fb5220d2190a8a764d5430c6fa8bc013860.tar.gz
volse-hubzilla-21c03fb5220d2190a8a764d5430c6fa8bc013860.tar.bz2
volse-hubzilla-21c03fb5220d2190a8a764d5430c6fa8bc013860.zip
diaspora2bb, salmon fix argument error
Diffstat (limited to 'include/salmon.php')
-rw-r--r--include/salmon.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/salmon.php b/include/salmon.php
index ba61fffcc..9153f8994 100644
--- a/include/salmon.php
+++ b/include/salmon.php
@@ -109,11 +109,11 @@ EOT;
$precomputed = '.YXBwbGljYXRpb24vYXRvbSt4bWw=.YmFzZTY0dXJs.UlNBLVNIQTI1Ng==';
- $signature = base64url_encode(rsa_sign(str_replace('=','',$data . $precomputed),true),$owner['sprvkey']);
+ $signature = base64url_encode(rsa_sign(str_replace('=','',$data . $precomputed),$owner['sprvkey']));
- $signature2 = base64url_encode(rsa_sign($data . $precomputed),$owner['sprvkey']);
+ $signature2 = base64url_encode(rsa_sign($data . $precomputed,$owner['sprvkey']));
- $signature3 = base64url_encode(rsa_sign($data),$owner['sprvkey']);
+ $signature3 = base64url_encode(rsa_sign($data,$owner['sprvkey']));
$salmon_tpl = get_markup_template('magicsig.tpl');