diff options
author | Aaron Stone <stone@lindenlab.com> | 2011-08-23 14:45:42 -0700 |
---|---|---|
committer | Aaron Stone <stone@lindenlab.com> | 2011-08-23 14:45:42 -0700 |
commit | c7141025c85ebabc0447a7d7c6f580c2e6c47f74 (patch) | |
tree | 299f9e3e8cc7791ef91f9cc74ae585b0bd5e123b /indra/newview/llsechandler_basic.cpp | |
parent | aa1424365e3df49edfc189ef433e050f502534e9 (diff) |
Respect --no-verify-ssl-cert option.
Diffstat (limited to 'indra/newview/llsechandler_basic.cpp')
-rw-r--r-- | indra/newview/llsechandler_basic.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llsechandler_basic.cpp b/indra/newview/llsechandler_basic.cpp index 904bb03270..8d64c8c04f 100644 --- a/indra/newview/llsechandler_basic.cpp +++ b/indra/newview/llsechandler_basic.cpp @@ -1005,6 +1005,8 @@ void LLBasicCertificateStore::validate(int validation_policy, LLPointer<LLCertificateChain> cert_chain, const LLSD& validation_params) { + // If --no-verify-ssl-cert was passed on the command line, stop right now. + if (gSavedSettings.getBOOL("NoVerifySSLCert")) return; if(cert_chain->size() < 1) { |