| 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 #include "net/socket/ssl_client_socket_win.h" | 5 #include "net/socket/ssl_client_socket_win.h" |
| 6 | 6 |
| 7 #include <schnlsp.h> | 7 #include <schnlsp.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <map> | 10 #include <map> |
| (...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 } | 547 } |
| 548 | 548 |
| 549 int SSLClientSocketWin::ExportKeyingMaterial(const base::StringPiece& label, | 549 int SSLClientSocketWin::ExportKeyingMaterial(const base::StringPiece& label, |
| 550 bool has_context, | 550 bool has_context, |
| 551 const base::StringPiece& context, | 551 const base::StringPiece& context, |
| 552 unsigned char* out, | 552 unsigned char* out, |
| 553 unsigned int outlen) { | 553 unsigned int outlen) { |
| 554 return ERR_NOT_IMPLEMENTED; | 554 return ERR_NOT_IMPLEMENTED; |
| 555 } | 555 } |
| 556 | 556 |
| 557 int SSLClientSocketWin::GetTLSUniqueChannelBinding(std::string* out) { |
| 558 return ERR_NOT_IMPLEMENTED; |
| 559 } |
| 560 |
| 557 SSLClientSocket::NextProtoStatus | 561 SSLClientSocket::NextProtoStatus |
| 558 SSLClientSocketWin::GetNextProto(std::string* proto, | 562 SSLClientSocketWin::GetNextProto(std::string* proto, |
| 559 std::string* server_protos) { | 563 std::string* server_protos) { |
| 560 proto->clear(); | 564 proto->clear(); |
| 561 server_protos->clear(); | 565 server_protos->clear(); |
| 562 return kNextProtoUnsupported; | 566 return kNextProtoUnsupported; |
| 563 } | 567 } |
| 564 | 568 |
| 565 ServerBoundCertService* SSLClientSocketWin::GetServerBoundCertService() const { | 569 ServerBoundCertService* SSLClientSocketWin::GetServerBoundCertService() const { |
| 566 return NULL; | 570 return NULL; |
| (...skipping 1039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1606 UpdateConnectionTypeHistograms(CONNECTION_SSL_MD2_CA); | 1610 UpdateConnectionTypeHistograms(CONNECTION_SSL_MD2_CA); |
| 1607 } | 1611 } |
| 1608 | 1612 |
| 1609 void SSLClientSocketWin::FreeSendBuffer() { | 1613 void SSLClientSocketWin::FreeSendBuffer() { |
| 1610 SECURITY_STATUS status = FreeContextBuffer(send_buffer_.pvBuffer); | 1614 SECURITY_STATUS status = FreeContextBuffer(send_buffer_.pvBuffer); |
| 1611 DCHECK(status == SEC_E_OK); | 1615 DCHECK(status == SEC_E_OK); |
| 1612 memset(&send_buffer_, 0, sizeof(send_buffer_)); | 1616 memset(&send_buffer_, 0, sizeof(send_buffer_)); |
| 1613 } | 1617 } |
| 1614 | 1618 |
| 1615 } // namespace net | 1619 } // namespace net |
| OLD | NEW |