summaryrefslogtreecommitdiffstats
path: root/chrome/common/net/x509_certificate_model.h
diff options
context:
space:
mode:
authormattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-15 20:11:11 +0000
committermattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-15 20:13:48 +0000
commit9242eddaaa1d79100821d95b1284853b40f36374 (patch)
tree8dc0b56c5bd3be0d72270bf9667343ff5ac7bab7 /chrome/common/net/x509_certificate_model.h
parenta38308cf2e9418dd9bf67dd0431aff27742f8558 (diff)
downloadchromium_src-9242eddaaa1d79100821d95b1284853b40f36374.zip
chromium_src-9242eddaaa1d79100821d95b1284853b40f36374.tar.gz
chromium_src-9242eddaaa1d79100821d95b1284853b40f36374.tar.bz2
Fix webui cert viewer showing wrong cert chain on NSS and no chain on OpenSSL.
The webui cert viewer was still using x509_certificate_model::GetCertChainFromCert instead of X509Certificate::GetIntermediateCertificates. This was fixed in the gtk cert viewer in r135231, but the webui cert viewer was missed. (x509_certificate_model::GetCertChainFromCert was not implemented on OpenSSL, and on NSS the chain it returned may differ from the the chain that was actually used.) BUG=77757,338887 Review URL: https://codereview.chromium.org/376753002 Cr-Commit-Position: refs/heads/master@{#289994} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289994 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/net/x509_certificate_model.h')
-rw-r--r--chrome/common/net/x509_certificate_model.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/common/net/x509_certificate_model.h b/chrome/common/net/x509_certificate_model.h
index e990828..1a5d350 100644
--- a/chrome/common/net/x509_certificate_model.h
+++ b/chrome/common/net/x509_certificate_model.h
@@ -86,10 +86,6 @@ std::string HashCertSHA1(net::X509Certificate::OSCertHandle cert_handle);
// decoded U-label form. Otherwise, the string will be returned as is.
std::string ProcessIDN(const std::string& input);
-void GetCertChainFromCert(net::X509Certificate::OSCertHandle cert_handle,
- net::X509Certificate::OSCertHandles* cert_handles);
-void DestroyCertChain(net::X509Certificate::OSCertHandles* cert_handles);
-
std::string GetCMSString(const net::X509Certificate::OSCertHandles& cert_chain,
size_t start, size_t end);