Searched refs:ssl_adapter (Results 1 – 3 of 3) sorted by relevance
138 rtc::SSLAdapter* ssl_adapter = rtc::SSLAdapter::Create(socket); in CreateClientTcpSocket() local139 if (!ssl_adapter) { in CreateClientTcpSocket()143 socket = ssl_adapter; in CreateClientTcpSocket()145 if (ssl_adapter->StartSSL(remote_address.hostname().c_str(), false) != 0) { in CreateClientTcpSocket()146 delete ssl_adapter; in CreateClientTcpSocket()
170 rtc::scoped_ptr<SSLAdapter> ssl_adapter(SSLAdapter::Create(socket)); in CreateProxySocket() local171 if (!ssl_adapter) { in CreateProxySocket()177 ssl_adapter->set_ignore_bad_cert(ignore_bad_cert_); in CreateProxySocket()178 if (ssl_adapter->StartSSL(hostname_.c_str(), true) != 0) { in CreateProxySocket()182 socket = ssl_adapter.release(); in CreateProxySocket()
226 rtc::SSLAdapter* ssl_adapter = in StartTls() local228 if (ssl_adapter->StartSSL(domainname.c_str(), false) != 0) in StartTls()