From bad981ea7b8afc1c60386c5987d9594d6f9f7f1e Mon Sep 17 00:00:00 2001 From: djmaze Date: Wed, 2 Dec 2020 14:30:19 +0100 Subject: [PATCH] Bugfix: undefined sEncryptedString --- snappymail/v/0.0.0/app/libraries/MailSo/Base/Crypt.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Base/Crypt.php b/snappymail/v/0.0.0/app/libraries/MailSo/Base/Crypt.php index e79e06317..57c09d71c 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Base/Crypt.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Base/Crypt.php @@ -43,9 +43,9 @@ class Crypt return \openssl_decrypt($sString, $sCipher, $sKey, OPENSSL_RAW_DATA, $iv); } if (\is_callable('xxtea_decrypt')) { - return \xxtea_decrypt($sEncryptedString, $sKey); + return \xxtea_decrypt($sString, $sKey); } - return Xxtea::decrypt($sEncryptedString, $sKey); + return Xxtea::decrypt($sString, $sKey); } }