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( |
| 793 unsigned char* out, |
| 794 unsigned int *outlen, |
| 795 unsigned int outlen_max) { |
| 796 return ERR_NOT_IMPLEMENTED; |
| 797 } |
| 798 |
792 SSLClientSocket::NextProtoStatus | 799 SSLClientSocket::NextProtoStatus |
793 SSLClientSocketMac::GetNextProto(std::string* proto, | 800 SSLClientSocketMac::GetNextProto(std::string* proto, |
794 std::string* server_protos) { | 801 std::string* server_protos) { |
795 proto->clear(); | 802 proto->clear(); |
796 server_protos->clear(); | 803 server_protos->clear(); |
797 return kNextProtoUnsupported; | 804 return kNextProtoUnsupported; |
798 } | 805 } |
799 | 806 |
800 ServerBoundCertService* SSLClientSocketMac::GetServerBoundCertService() const { | 807 ServerBoundCertService* SSLClientSocketMac::GetServerBoundCertService() const { |
801 return NULL; | 808 return NULL; |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1443 if (rv < 0 && rv != ERR_IO_PENDING) { | 1450 if (rv < 0 && rv != ERR_IO_PENDING) { |
1444 us->write_io_buf_ = NULL; | 1451 us->write_io_buf_ = NULL; |
1445 return OSStatusFromNetError(rv); | 1452 return OSStatusFromNetError(rv); |
1446 } | 1453 } |
1447 | 1454 |
1448 // always lie to our caller | 1455 // always lie to our caller |
1449 return noErr; | 1456 return noErr; |
1450 } | 1457 } |
1451 | 1458 |
1452 } // namespace net | 1459 } // namespace net |
OLD | NEW |