aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlaf Conradi <olaf@conradi.org>2013-09-30 09:59:22 +0200
committerOlaf Conradi <olaf@conradi.org>2013-09-30 09:59:22 +0200
commit0497c441df7feabdbfeea41f2d7b5dca8fd16989 (patch)
tree7ff38d5c0aef31cd4100d1111c0e9a7d6c695c66
parent49882c13a4fb67da29862034ddcfd9a55757f2ee (diff)
downloadvolse-hubzilla-0497c441df7feabdbfeea41f2d7b5dca8fd16989.tar.gz
volse-hubzilla-0497c441df7feabdbfeea41f2d7b5dca8fd16989.tar.bz2
volse-hubzilla-0497c441df7feabdbfeea41f2d7b5dca8fd16989.zip
ret_secret is not used
-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);