Skip to content
Snippets Groups Projects
Commit b2ef0f99 authored by Oz Linden's avatar Oz Linden
Browse files

merge changes for storm-1546

parents ff2eb602 6a7bbe01
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,7 @@ class LLCertificate : public LLRefCount
// base class for a list of certificates.
class LLCertificateVector : public LLRefCount
class LLCertificateVector : public LLThreadSafeRefCount
{
public:
......
......@@ -1209,12 +1209,12 @@ void LLSecAPIBasicHandler::init()
// with the product
std::string ca_file_path = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "CA.pem");
llinfos << "app path " << ca_file_path << llendl;
LLBasicCertificateStore app_ca_store = LLBasicCertificateStore(ca_file_path);
LLPointer<LLBasicCertificateStore> app_ca_store = new LLBasicCertificateStore(ca_file_path);
// push the applicate CA files into the store, therefore adding any new CA certs that
// updated
for(LLCertificateVector::iterator i = app_ca_store.begin();
i != app_ca_store.end();
for(LLCertificateVector::iterator i = app_ca_store->begin();
i != app_ca_store->end();
i++)
{
mStore->add(*i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment