From 0497c441df7feabdbfeea41f2d7b5dca8fd16989 Mon Sep 17 00:00:00 2001 From: Olaf Conradi Date: Mon, 30 Sep 2013 09:59:22 +0200 Subject: ret_secret is not used --- include/zot.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include/zot.php') 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); -- cgit v1.2.3