]> git.mxchange.org Git - hub.git/commitdiff
Some comments improved
authorRoland Häder <roland@mxchange.org>
Tue, 8 May 2012 22:03:21 +0000 (22:03 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 8 May 2012 22:03:21 +0000 (22:03 +0000)
application/hub/main/package/class_NetworkPackage.php

index 64cd3d0464421488da26d9d41c33e4a9786c4ada..5ca1f31a81c23a14c0f35395f8eff5043b780638 100644 (file)
@@ -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));