Home
last modified time | relevance | path

Searched refs:ssl_mode_ (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/base/
Dssladapter_unittest.cc43 : ssl_mode_(ssl_mode) { in SSLAdapterTestDummyClient()
44 rtc::AsyncSocket* socket = CreateSocket(ssl_mode_); in SSLAdapterTestDummyClient()
48 ssl_adapter_->SetMode(ssl_mode_); in SSLAdapterTestDummyClient()
79 LOG(LS_INFO) << "Starting " << GetSSLProtocolName(ssl_mode_) in Connect()
124 const rtc::SSLMode ssl_mode_; member in SSLAdapterTestDummyClient
135 : ssl_mode_(ssl_mode) { in SSLAdapterTestDummyServer()
139 server_socket_.reset(CreateSocket(ssl_mode_)); in SSLAdapterTestDummyServer()
141 if (ssl_mode_ == rtc::SSL_MODE_TLS) { in SSLAdapterTestDummyServer()
148 LOG(LS_INFO) << ((ssl_mode_ == rtc::SSL_MODE_DTLS) ? "UDP" : "TCP") in SSLAdapterTestDummyServer()
192 ASSERT_EQ(rtc::SSL_MODE_DTLS, ssl_mode_); in AcceptConnection()
[all …]
Dopensslstreamadapter.cc309 ssl_mode_(SSL_MODE_TLS), in OpenSSLStreamAdapter()
485 ssl_mode_ = mode; in SetMode()
600 if (ssl_mode_ == SSL_MODE_DTLS) { in Read()
778 if (ssl_mode_ == SSL_MODE_DTLS) { in BeginSSL()
904 ctx = SSL_CTX_new(ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
914 if (ssl_mode_ == SSL_MODE_DTLS) { in SetupSSLContext()
930 if (ssl_mode_ == SSL_MODE_DTLS) { in SetupSSLContext()
970 SSL_CTX_set_min_proto_version(ctx, ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
974 SSL_CTX_set_max_proto_version(ctx, ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
978 SSL_CTX_set_max_proto_version(ctx, ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
[all …]
Dsslstreamadapterhelper.cc31 ssl_mode_(SSL_MODE_TLS), in SSLStreamAdapterHelper()
59 ssl_mode_ = mode; in SetMode()
Dopenssladapter.cc286 ssl_mode_(SSL_MODE_TLS), in OpenSSLAdapter()
297 ssl_mode_ = mode; in SetMode()
939 SSL_CTX* ctx = SSL_CTX_new(ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
961 if (ssl_mode_ == SSL_MODE_DTLS) { in SetupSSLContext()
Dsslstreamadapterhelper.h103 SSLMode ssl_mode_; variable
Dopenssladapter.h90 SSLMode ssl_mode_; variable
Dopensslstreamadapter.h205 SSLMode ssl_mode_; variable