Skip to content
Snippets Groups Projects
Commit c7141025 authored by Aaron Stone's avatar Aaron Stone
Browse files

Respect --no-verify-ssl-cert option.

parent aa142436
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
......@@ -86,6 +86,9 @@ std::string LLControlGroup::getString(const std::string& name)
return "";
}
// Stub for --no-verify-ssl-cert
BOOL LLControlGroup::getBOOL(const std::string& name) { return FALSE; }
LLSD LLCredential::getLoginParams()
{
LLSD result = LLSD::emptyMap();
......
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