summaryrefslogtreecommitdiff
path: root/indra/newview/llsechandler_basic.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-01-20 20:19:28 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-01-25 21:13:47 +0200
commit0d324bb24db49f6f28d7e7f14fd69e7676de8fe6 (patch)
tree613a01566303343b0621183937c697bb1e738326 /indra/newview/llsechandler_basic.h
parent83127d22992e055b40298724d0cac0de108b6116 (diff)
SL-12422 Clear cert cache to enshure there is no carry-over between failed logins
Diffstat (limited to 'indra/newview/llsechandler_basic.h')
-rw-r--r--indra/newview/llsechandler_basic.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llsechandler_basic.h b/indra/newview/llsechandler_basic.h
index 0bc7f5230f..3bfac3f056 100644
--- a/indra/newview/llsechandler_basic.h
+++ b/indra/newview/llsechandler_basic.h
@@ -177,7 +177,10 @@ public:
virtual void validate(int validation_policy,
LLPointer<LLCertificateChain> ca_chain,
const LLSD& validation_params);
-
+
+ // Clears cache of certs validated agains store
+ virtual void clearSertCache() { mTrustedCertCache.clear(); }
+
protected:
std::vector<LLPointer<LLCertificate> > mCerts;