aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-30 01:09:04 -0700
committerfriendica <info@friendica.com>2013-09-30 01:09:04 -0700
commita8ebd7e3fa86b1d3e3e05f31b7e13649e9b9edac (patch)
tree7ff38d5c0aef31cd4100d1111c0e9a7d6c695c66 /include/zot.php
parent49882c13a4fb67da29862034ddcfd9a55757f2ee (diff)
parent0497c441df7feabdbfeea41f2d7b5dca8fd16989 (diff)
downloadvolse-hubzilla-a8ebd7e3fa86b1d3e3e05f31b7e13649e9b9edac.tar.gz
volse-hubzilla-a8ebd7e3fa86b1d3e3e05f31b7e13649e9b9edac.tar.bz2
volse-hubzilla-a8ebd7e3fa86b1d3e3e05f31b7e13649e9b9edac.zip
Merge pull request #160 from oohlaf/fixes
ret_secret is not used
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/zot.php b/include/zot.php
index 0658f1738..1a90481ff 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -788,10 +788,6 @@ function zot_fetch($arr) {
logger('zot_fetch: no hub: ' . print_r($arr['sender'],true));
return;
}
-
-
- $ret_secret = json_encode(array($arr['secret'],'secret_sig' => base64url_encode(rsa_sign($arr['secret'],get_config('system','prvkey')))));
-
$data = array(
'type' => 'pickup',
@@ -802,7 +798,6 @@ function zot_fetch($arr) {
'secret_sig' => base64url_encode(rsa_sign($arr['secret'],get_config('system','prvkey')))
);
-
$datatosend = json_encode(aes_encapsulate(json_encode($data),$ret_hub['hubloc_sitekey']));
$fetch = zot_zot($url,$datatosend);