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 3161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 int SSLClientSocketNSS::GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key, |
| 3183 std::vector<uint8_t>* out) { |
| 3184 NOTREACHED(); |
| 3185 return ERR_NOT_IMPLEMENTED; |
| 3186 } |
| 3187 |
3182 SSLFailureState SSLClientSocketNSS::GetSSLFailureState() const { | 3188 SSLFailureState SSLClientSocketNSS::GetSSLFailureState() const { |
3183 if (completed_handshake_) | 3189 if (completed_handshake_) |
3184 return SSL_FAILURE_NONE; | 3190 return SSL_FAILURE_NONE; |
3185 return SSL_FAILURE_UNKNOWN; | 3191 return SSL_FAILURE_UNKNOWN; |
3186 } | 3192 } |
3187 | 3193 |
3188 } // namespace net | 3194 } // namespace net |
OLD | NEW |