aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/decrypt_file.cpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-07-27 23:45:04 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2017-07-27 23:45:04 +0200
commitbb078fd01e6568982044e0f846029b9670f7f6df (patch)
tree3d262bd23749c977a18542096515b0c9144dd5d2 /utils/decrypt_file.cpp
parenttest: support running scripts from other dirs (diff)
downloadaes-tools-bb078fd01e6568982044e0f846029b9670f7f6df.tar.gz
aes-tools-bb078fd01e6568982044e0f846029b9670f7f6df.zip
code style
Diffstat (limited to 'utils/decrypt_file.cpp')
-rw-r--r--utils/decrypt_file.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/decrypt_file.cpp b/utils/decrypt_file.cpp
index beaabff..6da3d17 100644
--- a/utils/decrypt_file.cpp
+++ b/utils/decrypt_file.cpp
@@ -24,7 +24,8 @@ namespace
{
const auto ciphertext_buf = file::read_file(ciphertext_path);
const auto plaintext_buf = box.decrypt_buffer(
- ciphertext_buf.data(), ciphertext_buf.size());
+ ciphertext_buf.data(),
+ ciphertext_buf.size());
file::write_file(plaintext_path, plaintext_buf);
}