aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/encrypt_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--utils/encrypt_file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/encrypt_file.cpp b/utils/encrypt_file.cpp
index 4651928..bde7d83 100644
--- a/utils/encrypt_file.cpp
+++ b/utils/encrypt_file.cpp
@@ -73,8 +73,8 @@ namespace
const auto algorithm = settings.get_algorithm();
const auto mode = settings.get_mode();
- const auto plaintext_path = settings.get_input_path();
- const auto ciphertext_path = settings.get_output_path();
+ const auto& plaintext_path = settings.get_input_path();
+ const auto& ciphertext_path = settings.get_output_path();
aesni::Box::Key key;
aesni::Box::parse_key(key, algorithm, settings.get_key_string());