Function name typo
This commit is contained in:
parent
918f2e8593
commit
1262d6bfee
|
@ -183,7 +183,7 @@ function dfrn_notify_post(App $a) {
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
try {
|
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);
|
$data = \Defuse\Crypto\Crypto::decrypt(hex2bin($data), $FinalKey);
|
||||||
} catch (\Defuse\Crypto\Exception\WrongKeyOrModifiedCiphertextException $ex) { // VERY IMPORTANT
|
} catch (\Defuse\Crypto\Exception\WrongKeyOrModifiedCiphertextException $ex) { // VERY IMPORTANT
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue