diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/zot.php | 5 |
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); |