Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Unified Diff: net/socket/ssl_client_socket_nss.cc

Issue 1807063002: Remove GetTLSUniqueChannelBinding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/ssl_client_socket_nss.h ('k') | net/socket/ssl_client_socket_openssl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_nss.cc
diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc
index 1501c76a651746412cdc345d784750f215e6edb4..135045ff9feae081b66dbef64eccdb2acd11fe42 100644
--- a/net/socket/ssl_client_socket_nss.cc
+++ b/net/socket/ssl_client_socket_nss.cc
@@ -2485,22 +2485,6 @@ int SSLClientSocketNSS::ExportKeyingMaterial(const base::StringPiece& label,
return OK;
}
-int SSLClientSocketNSS::GetTLSUniqueChannelBinding(std::string* out) {
- if (!IsConnected())
- return ERR_SOCKET_NOT_CONNECTED;
- unsigned char buf[64];
- unsigned int len;
- SECStatus result = SSL_GetChannelBinding(nss_fd_,
- SSL_CHANNEL_BINDING_TLS_UNIQUE,
- buf, &len, arraysize(buf));
- if (result != SECSuccess) {
- LogFailedNSSFunction(net_log_, "SSL_GetChannelBinding", "");
- return MapNSSError(PORT_GetError());
- }
- out->assign(reinterpret_cast<char*>(buf), len);
- return OK;
-}
-
SSLClientSocket::NextProtoStatus SSLClientSocketNSS::GetNextProto(
std::string* proto) const {
*proto = core_->state().next_proto;
« no previous file with comments | « net/socket/ssl_client_socket_nss.h ('k') | net/socket/ssl_client_socket_openssl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698