From 1262d6bfee193977ccddb746d5a3611980cb9983 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 9 Nov 2017 03:01:53 -0500 Subject: [PATCH] Function name typo --- mod/dfrn_notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index 731020532..7397b415a 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -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 /*