summaryrefslogtreecommitdiff
path: root/indra/newview/llsechandler_basic.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-04-07 17:59:28 -0400
committerOz Linden <oz@lindenlab.com>2015-04-07 17:59:28 -0400
commit8b42c7898ef756a4a81daa08b2a5acce2894f4b8 (patch)
tree57011bc24cc27df7b436c1edda7957ac3530fa57 /indra/newview/llsechandler_basic.cpp
parent3a57b18896eacb6fea6680d0eccaaeddb0b700b0 (diff)
replace llifstream and llofstream with std::ifstream and std::ofstream respectively
Diffstat (limited to 'indra/newview/llsechandler_basic.cpp')
-rwxr-xr-xindra/newview/llsechandler_basic.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llsechandler_basic.cpp b/indra/newview/llsechandler_basic.cpp
index 40516f9bbb..c904b95666 100755
--- a/indra/newview/llsechandler_basic.cpp
+++ b/indra/newview/llsechandler_basic.cpp
@@ -640,7 +640,7 @@ LLBasicCertificateStore::~LLBasicCertificateStore()
// persist the store
void LLBasicCertificateStore::save()
{
- llofstream file_store(mFilename.c_str(), std::ios_base::binary);
+ std::ofstream file_store(mFilename.c_str(), std::ios_base::binary);
if(!file_store.fail())
{
for(iterator cert = begin();
@@ -1245,8 +1245,8 @@ void LLSecAPIBasicHandler::_readProtectedData()
{
// attempt to load the file into our map
LLPointer<LLSDParser> parser = new LLSDXMLParser();
- llifstream protected_data_stream(mProtectedDataFilename.c_str(),
- llifstream::binary);
+ std::ifstream protected_data_stream(mProtectedDataFilename.c_str(),
+ std::ifstream::binary);
if (!protected_data_stream.fail()) {
U8 salt[STORE_SALT_SIZE];
@@ -1330,7 +1330,7 @@ void LLSecAPIBasicHandler::_writeProtectedData()
// an error.
std::string tmp_filename = mProtectedDataFilename + ".tmp";
- llofstream protected_data_stream(tmp_filename.c_str(),
+ std::ofstream protected_data_stream(tmp_filename.c_str(),
std::ios_base::binary);
try
{
@@ -1568,7 +1568,7 @@ std::string LLSecAPIBasicHandler::_legacyLoadPassword()
{
const S32 HASHED_LENGTH = 32;
std::vector<U8> buffer(HASHED_LENGTH);
- llifstream password_file(mLegacyPasswordPath.c_str(), llifstream::binary);
+ std::ifstream password_file(mLegacyPasswordPath.c_str(), std::ifstream::binary);
if(password_file.fail())
{