Searched refs:peer_id (Results 1 – 2 of 2) sorted by relevance
867 std::string peer_id(host_and_port_.ToString()); in InitializeSSLContext() local868 peer_id += std::string(reinterpret_cast<char*>(ai->ai_addr), in InitializeSSLContext()872 status = SSLSetPeerID(ssl_context_, peer_id.data(), peer_id.length()); in InitializeSSLContext()
1036 std::string peer_id = host_and_port_.ToString(); in InitializeSSLPeerName() local1037 SECStatus rv = SSL_SetSockPeerID(nss_fd_, const_cast<char*>(peer_id.c_str())); in InitializeSSLPeerName()1039 LogFailedNSSFunction(net_log_, "SSL_SetSockPeerID", peer_id.c_str()); in InitializeSSLPeerName()