| 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_mac.h" | 5 #include "net/socket/ssl_client_socket_mac.h" |
| 6 | 6 |
| 7 #include <CoreServices/CoreServices.h> | 7 #include <CoreServices/CoreServices.h> |
| 8 #include <netdb.h> | 8 #include <netdb.h> |
| 9 #include <sys/socket.h> | 9 #include <sys/socket.h> |
| 10 #include <sys/types.h> | 10 #include <sys/types.h> |
| (...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 } | 782 } |
| 783 | 783 |
| 784 int SSLClientSocketMac::ExportKeyingMaterial(const base::StringPiece& label, | 784 int SSLClientSocketMac::ExportKeyingMaterial(const base::StringPiece& label, |
| 785 bool has_context, | 785 bool has_context, |
| 786 const base::StringPiece& context, | 786 const base::StringPiece& context, |
| 787 unsigned char* out, | 787 unsigned char* out, |
| 788 unsigned int outlen) { | 788 unsigned int outlen) { |
| 789 return ERR_NOT_IMPLEMENTED; | 789 return ERR_NOT_IMPLEMENTED; |
| 790 } | 790 } |
| 791 | 791 |
| 792 int SSLClientSocketOpenSSL::GetTLSUniqueChannelBinding(std::string* out) { |
| 793 return ERR_NOT_IMPLEMENTED; |
| 794 } |
| 795 |
| 792 SSLClientSocket::NextProtoStatus | 796 SSLClientSocket::NextProtoStatus |
| 793 SSLClientSocketMac::GetNextProto(std::string* proto, | 797 SSLClientSocketMac::GetNextProto(std::string* proto, |
| 794 std::string* server_protos) { | 798 std::string* server_protos) { |
| 795 proto->clear(); | 799 proto->clear(); |
| 796 server_protos->clear(); | 800 server_protos->clear(); |
| 797 return kNextProtoUnsupported; | 801 return kNextProtoUnsupported; |
| 798 } | 802 } |
| 799 | 803 |
| 800 ServerBoundCertService* SSLClientSocketMac::GetServerBoundCertService() const { | 804 ServerBoundCertService* SSLClientSocketMac::GetServerBoundCertService() const { |
| 801 return NULL; | 805 return NULL; |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1443 if (rv < 0 && rv != ERR_IO_PENDING) { | 1447 if (rv < 0 && rv != ERR_IO_PENDING) { |
| 1444 us->write_io_buf_ = NULL; | 1448 us->write_io_buf_ = NULL; |
| 1445 return OSStatusFromNetError(rv); | 1449 return OSStatusFromNetError(rv); |
| 1446 } | 1450 } |
| 1447 | 1451 |
| 1448 // always lie to our caller | 1452 // always lie to our caller |
| 1449 return noErr; | 1453 return noErr; |
| 1450 } | 1454 } |
| 1451 | 1455 |
| 1452 } // namespace net | 1456 } // namespace net |
| OLD | NEW |