ret_secret is not used

This commit is contained in:
Olaf Conradi 2013-09-30 09:59:22 +02:00
parent 49882c13a4
commit 0497c441df

View File

@ -789,10 +789,6 @@ function zot_fetch($arr) {
return;
}
$ret_secret = json_encode(array($arr['secret'],'secret_sig' => base64url_encode(rsa_sign($arr['secret'],get_config('system','prvkey')))));
$data = array(
'type' => 'pickup',
'url' => z_root(),
@ -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);