From 0b6a4723be1ca2e585214ea754e499cedb47ba2c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 8 May 2012 22:03:21 +0000 Subject: [PATCH] Some comments improved --- application/hub/main/package/class_NetworkPackage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/hub/main/package/class_NetworkPackage.php b/application/hub/main/package/class_NetworkPackage.php index 64cd3d046..5ca1f31a8 100644 --- a/application/hub/main/package/class_NetworkPackage.php +++ b/application/hub/main/package/class_NetworkPackage.php @@ -537,7 +537,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R * * @param $decodedArray An array with 'decoded' (explode() was mostly called) data * @return $isSignatureValid Whether the signature is valid - * @todo Unfinished area, signature are currently not supported + * @todo Unfinished area, signatures are currently NOT fully supported */ private function isPackageSignatureValid (array $decodedArray) { // Generate the signature of comparing it @@ -545,7 +545,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R // Is it the same? //$isSignatureValid = - die('signature='.$signature.print_r($decodedArray,true)); + die(__METHOD__.': signature='.$signature.chr(10).',decodedArray='.print_r($decodedArray,true)); } /** @@ -958,7 +958,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R // Generate the signature of comparing it /* - * @todo Unsupported feature commented out + * @todo Unsupported feature of "signed" messages commented out if (!$this->isPackageSignatureValid($decodedArray)) { // Is not valid, so throw an exception here die('INVALID SIG! UNDER CONSTRUCTION!' . chr(10)); -- 2.39.5