aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/encrypt_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/encrypt_file.cpp
parenttest: support running scripts from other dirs (diff)
downloadaes-tools-bb078fd01e6568982044e0f846029b9670f7f6df.tar.gz
aes-tools-bb078fd01e6568982044e0f846029b9670f7f6df.zip
code style
Diffstat (limited to '')
-rw-r--r--utils/encrypt_file.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/encrypt_file.cpp b/utils/encrypt_file.cpp
index c5fa41f..570bc60 100644
--- a/utils/encrypt_file.cpp
+++ b/utils/encrypt_file.cpp
@@ -24,7 +24,8 @@ namespace
{
const auto plaintext_buf = file::read_file(plaintext_path);
const auto ciphertext_buf = box.encrypt_buffer(
- plaintext_buf.data(), plaintext_buf.size());
+ plaintext_buf.data(),
+ plaintext_buf.size());
file::write_file(ciphertext_path, ciphertext_buf);
}