diff options
author | Björn Schießle <bjoern@schiessle.org> | 2016-01-05 19:01:03 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-02-09 23:43:26 +0100 |
commit | 9bb97c714bb2158fd019ba9efc24a8bc8595b499 (patch) | |
tree | 0b448eee0d30aa194cbc887c08f7c44728a9e109 /apps/encryption/lib | |
parent | b9ff16498befe211205ea3c20c2eb341f97919fa (diff) | |
download | nextcloud-server-9bb97c714bb2158fd019ba9efc24a8bc8595b499.tar.gz nextcloud-server-9bb97c714bb2158fd019ba9efc24a8bc8595b499.zip |
fixing unit tests
Diffstat (limited to 'apps/encryption/lib')
-rw-r--r-- | apps/encryption/lib/crypto/crypt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/crypto/crypt.php b/apps/encryption/lib/crypto/crypt.php index d5a41c29009..f27f55619af 100644 --- a/apps/encryption/lib/crypto/crypt.php +++ b/apps/encryption/lib/crypto/crypt.php @@ -442,7 +442,7 @@ class Crypt { $catFile = $this->splitMetaData($keyFileContents, $cipher); - if ($catFile['signature']) { + if ($catFile['signature'] !== false) { $this->checkSignature($catFile['encrypted'], $passPhrase, $catFile['signature']); } |