Skip to content
Snippets Groups Projects
Commit 2229290c authored by Morris Jobke's avatar Morris Jobke
Browse files

fix typo of blog -> changed to block

* fixes #13460
parent c9db9523
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ namespace OCA\Files_Encryption\Exception; ...@@ -40,7 +40,7 @@ namespace OCA\Files_Encryption\Exception;
class EncryptionException extends \Exception { class EncryptionException extends \Exception {
const GENERIC = 10; const GENERIC = 10;
const UNEXPECTED_END_OF_ENCRYPTION_HEADER = 20; const UNEXPECTED_END_OF_ENCRYPTION_HEADER = 20;
const UNEXPECTED_BLOG_SIZE = 30; const UNEXPECTED_BLOCK_SIZE = 30;
const ENCRYPTION_HEADER_TO_LARGE = 40; const ENCRYPTION_HEADER_TO_LARGE = 40;
const UNKNOWN_CIPHER = 50; const UNKNOWN_CIPHER = 50;
const ENCRYPTION_FAILED = 60; const ENCRYPTION_FAILED = 60;
......
...@@ -260,7 +260,7 @@ class Stream { ...@@ -260,7 +260,7 @@ class Stream {
if ($count !== Crypt::BLOCKSIZE) { if ($count !== Crypt::BLOCKSIZE) {
\OCP\Util::writeLog('Encryption library', 'PHP "bug" 21641 no longer holds, decryption system requires refactoring', \OCP\Util::FATAL); \OCP\Util::writeLog('Encryption library', 'PHP "bug" 21641 no longer holds, decryption system requires refactoring', \OCP\Util::FATAL);
throw new EncryptionException('expected a blog size of 8192 byte', EncryptionException::UNEXPECTED_BLOG_SIZE); throw new EncryptionException('expected a block size of 8192 byte', EncryptionException::UNEXPECTED_BLOCK_SIZE);
} }
// Get the data from the file handle // Get the data from the file handle
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment