aboutsummaryrefslogtreecommitdiffstats
path: root/include/salmon.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-26 19:01:16 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-26 19:01:16 -0700
commiteb5e6aae7273fef06a06f983fe78aaad737aa729 (patch)
tree355b1518f1553c970d3cbad7b8e923a66b64dc9c /include/salmon.php
parentd453560be9142067391fc0213d5fd5066667e54f (diff)
downloadvolse-hubzilla-eb5e6aae7273fef06a06f983fe78aaad737aa729.tar.gz
volse-hubzilla-eb5e6aae7273fef06a06f983fe78aaad737aa729.tar.bz2
volse-hubzilla-eb5e6aae7273fef06a06f983fe78aaad737aa729.zip
a few more fsw tweaks
Diffstat (limited to 'include/salmon.php')
-rw-r--r--include/salmon.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/salmon.php b/include/salmon.php
index de0ea3802..e93ec23d7 100644
--- a/include/salmon.php
+++ b/include/salmon.php
@@ -136,7 +136,7 @@ EOT;
$signature = base64url_encode($rsa->sign($data . $precomputed));
- $signature2 = base64url_encode($rsa->sign($data));
+ $signature2 = base64url_encode($rsa->sign($data));
$salmon_tpl = load_view_file('view/magicsig.tpl');
$salmon = replace_macros($salmon_tpl,array(
@@ -154,7 +154,7 @@ EOT;
));
$a = get_app();
- $return_code = trim($a->get_curl_code);
+ $return_code = trim($a->get_curl_code());
// check for success, e.g. 2xx
@@ -177,7 +177,8 @@ EOT;
'Content-type: application/magic-envelope+xml',
'Content-length: ' . strlen($salmon)
));
- $return_code = trim($a->get_curl_code);
+ $return_code = trim($a->get_curl_code());
+
}
return;