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

Side by Side Diff: net/cert/x509_util_nss.cc

Issue 1408433006: Support tls-server-end-point channel bindings for HTTP authentication. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Narrower dependencies, update comments, address review comments. Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/cert/x509_util.h" 5 #include "net/cert/x509_util.h"
6 #include "net/cert/x509_util_nss.h" 6 #include "net/cert/x509_util_nss.h"
7 7
8 #include <cert.h> // Must be included before certdb.h 8 #include <cert.h> // Must be included before certdb.h
9 #include <certdb.h> 9 #include <certdb.h>
10 #include <cryptohi.h> 10 #include <cryptohi.h>
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 CERT_DestroyCertificate(cert); 173 CERT_DestroyCertificate(cert);
174 return false; 174 return false;
175 } 175 }
176 176
177 der_cert->assign(reinterpret_cast<char*>(cert->derCert.data), 177 der_cert->assign(reinterpret_cast<char*>(cert->derCert.data),
178 cert->derCert.len); 178 cert->derCert.len);
179 CERT_DestroyCertificate(cert); 179 CERT_DestroyCertificate(cert);
180 return true; 180 return true;
181 } 181 }
182 182
183 bool GetTLSServerEndPointChannelBinding(const X509Certificate& certificate,
184 std::string* token) {
185 NOTIMPLEMENTED();
186 return false;
187 }
188
183 } // namespace x509_util 189 } // namespace x509_util
184 190
185 } // namespace net 191 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698