diff -r 8f15e5a13e8f -r 47a8d64aae42 indra/newview/llsecapi.h --- a/indra/newview/llsecapi.h Tue Aug 09 10:22:04 2011 -0400 +++ b/indra/newview/llsecapi.h Tue Aug 09 22:47:19 2011 +0300 @@ -160,7 +160,7 @@ public: // base class for a list of certificates. -class LLCertificateVector : public LLRefCount +class LLCertificateVector : public LLThreadSafeRefCount { public: diff -r 8f15e5a13e8f -r 47a8d64aae42 indra/newview/llsechandler_basic.cpp --- a/indra/newview/llsechandler_basic.cpp Tue Aug 09 10:22:04 2011 -0400 +++ b/indra/newview/llsechandler_basic.cpp Tue Aug 09 22:47:19 2011 +0300 @@ -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 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);