diff options
| author | Roxie Linden <roxie@lindenlab.com> | 2010-05-20 11:48:47 -0700 |
|---|---|---|
| committer | Roxie Linden <roxie@lindenlab.com> | 2010-05-20 11:48:47 -0700 |
| commit | 5e353cbf86693ad18b0c9a3f75234c1fa6378005 (patch) | |
| tree | e2eb2b4732391b332aaa84957d274a3983a2a20f /indra/newview/llsecapi.cpp | |
| parent | be20b12c5c225e5dbc564ba32dee87b4bf1722b5 (diff) | |
| parent | afef949533e575a8f0558ef8477eb8644d66c524 (diff) | |
automated merge
Diffstat (limited to 'indra/newview/llsecapi.cpp')
| -rw-r--r-- | indra/newview/llsecapi.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llsecapi.cpp b/indra/newview/llsecapi.cpp index 89b799f297..1caeec5b04 100644 --- a/indra/newview/llsecapi.cpp +++ b/indra/newview/llsecapi.cpp @@ -121,7 +121,10 @@ int secapiSSLCertVerifyCallback(X509_STORE_CTX *ctx, void *param) validation_params[CERT_HOSTNAME] = uri.hostName(); try { - chain->validate(VALIDATION_POLICY_SSL, store, validation_params); + // we rely on libcurl to validate the hostname, as libcurl does more extensive validation + // leaving our hostname validation call mechanism for future additions with respect to + // OS native (Mac keyring, windows CAPI) validation. + chain->validate(VALIDATION_POLICY_SSL & (~VALIDATION_POLICY_HOSTNAME), store, validation_params); } catch (LLCertValidationTrustException& cert_exception) { |
