|
|
@ -110,7 +110,7 @@ void SecureFiles(const plFileName& dir, const plString& ext, uint32_t* key) |
|
|
|
std::vector<plFileName> files = plFileSystem::ListDir(dir, ext.c_str()); |
|
|
|
std::vector<plFileName> files = plFileSystem::ListDir(dir, ext.c_str()); |
|
|
|
for (auto iter = files.begin(); iter != files.end(); ++iter) |
|
|
|
for (auto iter = files.begin(); iter != files.end(); ++iter) |
|
|
|
{ |
|
|
|
{ |
|
|
|
printf("securing: %s\n", iter->GetFileName()); |
|
|
|
printf("securing: %s\n", iter->GetFileName().c_str()); |
|
|
|
plSecureStream::FileEncrypt(*iter, key); |
|
|
|
plSecureStream::FileEncrypt(*iter, key); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|