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

Side by Side Diff: net/socket/ssl_client_socket_nss.cc

Issue 1378613004: Set Token-Binding HTTP header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tb-tls-ext-new
Patch Set: Add UMA logging of Token Binding support and NetLog event for Token Binding key lookup Created 5 years, 1 month 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 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived 5 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived
6 // from AuthCertificateCallback() in 6 // from AuthCertificateCallback() in
7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp. 7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp.
8 8
9 /* ***** BEGIN LICENSE BLOCK ***** 9 /* ***** BEGIN LICENSE BLOCK *****
10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
(...skipping 3171 matching lines...) Expand 10 before | Expand all | Expand 10 after
3182 for (size_t i = next_protos->size() - 1; i > 0; --i) { 3182 for (size_t i = next_protos->size() - 1; i > 0; --i) {
3183 (*next_protos)[i] = (*next_protos)[i - 1]; 3183 (*next_protos)[i] = (*next_protos)[i - 1];
3184 } 3184 }
3185 (*next_protos)[0] = fallback_proto; 3185 (*next_protos)[0] = fallback_proto;
3186 } 3186 }
3187 3187
3188 ChannelIDService* SSLClientSocketNSS::GetChannelIDService() const { 3188 ChannelIDService* SSLClientSocketNSS::GetChannelIDService() const {
3189 return channel_id_service_; 3189 return channel_id_service_;
3190 } 3190 }
3191 3191
3192 int SSLClientSocketNSS::GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key,
3193 std::vector<uint8_t>* out) {
3194 NOTREACHED();
3195 return ERR_NOT_IMPLEMENTED;
3196 }
3197
3192 SSLFailureState SSLClientSocketNSS::GetSSLFailureState() const { 3198 SSLFailureState SSLClientSocketNSS::GetSSLFailureState() const {
3193 if (completed_handshake_) 3199 if (completed_handshake_)
3194 return SSL_FAILURE_NONE; 3200 return SSL_FAILURE_NONE;
3195 return SSL_FAILURE_UNKNOWN; 3201 return SSL_FAILURE_UNKNOWN;
3196 } 3202 }
3197 3203
3198 } // namespace net 3204 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698