1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-06-14 23:44:58 +02:00

Rename CipherError to CryptoError.

This aligns with the general renaming from cipher to crypto.
This commit is contained in:
David Steele
2018-11-06 19:38:38 -05:00
parent 2cb312ef5a
commit 8efa5e6a6a
21 changed files with 50 additions and 46 deletions

View File

@ -272,7 +272,7 @@ sub run
{strMode => STORAGE_DECRYPT})},
'[object]', 'new read empty attempt decrypt');
$self->testException(sub {$oEncryptFileIo->read(\$tBuffer, 16)}, ERROR_CIPHER, 'cipher header missing');
$self->testException(sub {$oEncryptFileIo->read(\$tBuffer, 16)}, ERROR_CRYPTO, 'cipher header missing');
$self->testResult(sub {$oEncryptFileIo->close()}, true, 'close');
# OpenSSL should error on the empty file