Fix another php-encryption version migration error

This commit is contained in:
Hypolite Petovan 2017-11-09 03:01:02 -05:00
parent d5aff9ac31
commit 918f2e8593
1 changed files with 1 additions and 1 deletions

View File

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