diff --git a/apps/encryption/lib/Crypto/Crypt.php b/apps/encryption/lib/Crypto/Crypt.php index f80daec728a4d..0aadd64eaec1d 100644 --- a/apps/encryption/lib/Crypto/Crypt.php +++ b/apps/encryption/lib/Crypto/Crypt.php @@ -545,7 +545,7 @@ private function decrypt(string $encryptedContent, string $iv, string $passPhras $options, $iv); - if ($plainContent) { + if ($plainContent !== false) { return $plainContent; } else { throw new DecryptionFailedException('Encryption library: Decryption (symmetric) of content failed: ' . openssl_error_string());