Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7791)

Unified Diff: chrome/common/net/x509_certificate_model_openssl.cc

Issue 6793026: Initial support for HSTS certificate locking. This isn't a finished work, but (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/net/x509_certificate_model_openssl.cc
===================================================================
--- chrome/common/net/x509_certificate_model_openssl.cc (revision 80114)
+++ chrome/common/net/x509_certificate_model_openssl.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.
@@ -201,19 +201,6 @@
return ProcessRawBytes(sha1_data, sha1_size);
}
-void GetCertChainFromCert(net::X509Certificate::OSCertHandle cert_handle,
- net::X509Certificate::OSCertHandles* cert_handles) {
- // TODO(bulach): how to get the chain out of a certificate?
- cert_handles->push_back(net::X509Certificate::DupOSCertHandle(cert_handle));
-}
-
-void DestroyCertChain(net::X509Certificate::OSCertHandles* cert_handles) {
- for (net::X509Certificate::OSCertHandles::iterator i = cert_handles->begin();
- i != cert_handles->end(); ++i)
- X509_free(*i);
- cert_handles->clear();
-}
-
std::string GetDerString(net::X509Certificate::OSCertHandle cert_handle) {
// TODO(bulach): implement me.
return "";
Property changes on: chrome/common/net/x509_certificate_model_openssl.cc
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698