This commit is contained in:
2023-11-12 14:27:11 -06:00
parent 87f83b6f30
commit 821ed7b25e
4 changed files with 15 additions and 7 deletions

View File

@@ -40,8 +40,8 @@ TEST(encrypting_reader, get_encrypted_file_name) {
EXPECT_TRUE(source_file != nullptr);
if (source_file) {
stop_type stop_requested = false;
utils::encryption::encrypting_reader reader("test.dat", source_file_name,
stop_requested, token);
utils::encryption::encrypting_reader reader(
"test.dat", source_file_name, stop_requested, token, std::nullopt);
auto file_name = reader.get_encrypted_file_name();
std::cout << file_name << std::endl;