On Windows, do not use the COMODO EV SGC CA certificate issued by AddTrust External CA Root because it causes CertGetCertificateChain to report CERT_TRUST_IS_NOT_VALID_FOR_USAGE. This is a temporary workaround.  The proper fix is to modify NSS to provide all the certificates sent by the server to the certificate verification callback.
On Windows, do not use the COMODO EV SGC CA certificate
issued by AddTrust External CA Root because it causes
CertGetCertificateChain to report CERT_TRUST_IS_NOT_VALID_FOR_USAGE.
This is a temporary workaround.  The proper fix is to modify
NSS to provide all the certificates sent by the server to
the certificate verification callback.

Fix a certificate context leak.

R=agl,willchan
BUG=43538
TEST=On a Windows computer that doesn't have the
COMODO EV SGC CA certificate issued by COMODO Certification
Authority, visit https://mixi.jp/ . Chrome should not
display the "certificate invalid" error page.
Review URL: http://codereview.chromium.org/2036005

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@46774 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser