| Index: chrome/common/net/x509_certificate_model_nss.cc
|
| ===================================================================
|
| --- chrome/common/net/x509_certificate_model_nss.cc (revision 80114)
|
| +++ chrome/common/net/x509_certificate_model_nss.cc (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -273,26 +273,6 @@
|
| return HashCert(cert_handle, HASH_AlgSHA1, SHA1_LENGTH);
|
| }
|
|
|
| -void GetCertChainFromCert(X509Certificate::OSCertHandle cert_handle,
|
| - X509Certificate::OSCertHandles* cert_handles) {
|
| - CERTCertList* cert_list =
|
| - CERT_GetCertChainFromCert(cert_handle, PR_Now(), certUsageSSLServer);
|
| - CERTCertListNode* node;
|
| - for (node = CERT_LIST_HEAD(cert_list);
|
| - !CERT_LIST_END(node, cert_list);
|
| - node = CERT_LIST_NEXT(node)) {
|
| - cert_handles->push_back(CERT_DupCertificate(node->cert));
|
| - }
|
| - CERT_DestroyCertList(cert_list);
|
| -}
|
| -
|
| -void DestroyCertChain(X509Certificate::OSCertHandles* cert_handles) {
|
| - for (X509Certificate::OSCertHandles::iterator i(cert_handles->begin());
|
| - i != cert_handles->end(); ++i)
|
| - CERT_DestroyCertificate(*i);
|
| - cert_handles->clear();
|
| -}
|
| -
|
| string GetDerString(X509Certificate::OSCertHandle cert_handle) {
|
| return string(reinterpret_cast<const char*>(cert_handle->derCert.data),
|
| cert_handle->derCert.len);
|
|
|
| Property changes on: chrome/common/net/x509_certificate_model_nss.cc
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|