]> git.mxchange.org Git - friendica.git/commitdiff
Function name typo
authorHypolite Petovan <mrpetovan@gmail.com>
Thu, 9 Nov 2017 08:01:53 +0000 (03:01 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Thu, 9 Nov 2017 08:01:53 +0000 (03:01 -0500)
mod/dfrn_notify.php

index 731020532657de2550ff12e6d93d21ef3aecb284..7397b415a54a5269ea32c918b928fbe6a63662a1 100644 (file)
@@ -183,7 +183,7 @@ function dfrn_notify_post(App $a) {
                                break;
                        case 2:
                                try {
-                                       $FinalKey = \Defuse\Crypto\Key::loadFromAsciiSafeString(bintohex($final_key));
+                                       $FinalKey = \Defuse\Crypto\Key::loadFromAsciiSafeString(bin2hex($final_key));
                                        $data = \Defuse\Crypto\Crypto::decrypt(hex2bin($data), $FinalKey);
                                } catch (\Defuse\Crypto\Exception\WrongKeyOrModifiedCiphertextException $ex) { // VERY IMPORTANT
                                        /*