OLD | NEW |
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 Loading... |
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 |
OLD | NEW |