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

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: Remove sequence numbers from mock reads Created 4 years, 11 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 // 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 3161 matching lines...) Expand 10 before | Expand all | Expand 10 after
3172 for (size_t i = next_protos->size() - 1; i > 0; --i) { 3172 for (size_t i = next_protos->size() - 1; i > 0; --i) {
3173 (*next_protos)[i] = (*next_protos)[i - 1]; 3173 (*next_protos)[i] = (*next_protos)[i - 1];
3174 } 3174 }
3175 (*next_protos)[0] = fallback_proto; 3175 (*next_protos)[0] = fallback_proto;
3176 } 3176 }
3177 3177
3178 ChannelIDService* SSLClientSocketNSS::GetChannelIDService() const { 3178 ChannelIDService* SSLClientSocketNSS::GetChannelIDService() const {
3179 return channel_id_service_; 3179 return channel_id_service_;
3180 } 3180 }
3181 3181
3182 Error SSLClientSocketNSS::GetSignedEKMForTokenBinding(
3183 crypto::ECPrivateKey* key,
3184 std::vector<uint8_t>* out) {
3185 NOTREACHED();
3186 return ERR_NOT_IMPLEMENTED;
3187 }
3188
3182 SSLFailureState SSLClientSocketNSS::GetSSLFailureState() const { 3189 SSLFailureState SSLClientSocketNSS::GetSSLFailureState() const {
3183 if (completed_handshake_) 3190 if (completed_handshake_)
3184 return SSL_FAILURE_NONE; 3191 return SSL_FAILURE_NONE;
3185 return SSL_FAILURE_UNKNOWN; 3192 return SSL_FAILURE_UNKNOWN;
3186 } 3193 }
3187 3194
3188 } // namespace net 3195 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698