Commits

stone_linden committed 4c93926

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

  • Participants
  • Parent commits 4ebbd04

Comments (0)

Files changed (2)

File indra/newview/llsechandler_basic.cpp

 									   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)
 	{

File indra/newview/tests/llsechandler_basic_test.cpp

 	return "";
 }
 
+// Stub for --no-verify-ssl-cert
+BOOL LLControlGroup::getBOOL(const std::string& name) { return FALSE; }
+
 LLSD LLCredential::getLoginParams()
 {
 	LLSD result = LLSD::emptyMap();