Home
last modified time | relevance | path

Searched refs:SSL_MODE_DTLS (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/base/
Dssladapter_unittest.cc29 address.family(), (ssl_mode == rtc::SSL_MODE_DTLS) ? in CreateSocket()
37 return (ssl_mode == rtc::SSL_MODE_DTLS) ? "DTLS" : "TLS"; in GetSSLProtocolName()
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()
297 if (ssl_mode_ == rtc::SSL_MODE_DTLS) { in TestHandshake()
363 : SSLAdapterTestBase(rtc::SSL_MODE_DTLS, rtc::KeyParams::RSA()) {} in SSLAdapterTestDTLS_RSA()
369 : SSLAdapterTestBase(rtc::SSL_MODE_DTLS, rtc::KeyParams::ECDSA()) {} in SSLAdapterTestDTLS_ECDSA()
Dopensslstreamadapter.cc600 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_version(ctx, ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
974 SSL_CTX_set_max_version(ctx, ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
978 SSL_CTX_set_max_version(ctx, ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
983 SSL_CTX_set_max_version(ctx, ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
Dsslstreamadapter.h62 enum SSLMode { SSL_MODE_TLS, SSL_MODE_DTLS }; enumerator
Dopenssladapter.cc939 SSL_CTX* ctx = SSL_CTX_new(ssl_mode_ == SSL_MODE_DTLS ? in SetupSSLContext()
961 if (ssl_mode_ == SSL_MODE_DTLS) { in SetupSSLContext()
Dsslstreamadapter_unittest.cc369 server_ssl_->SetMode(dtls_ ? rtc::SSL_MODE_DTLS : in TestHandshake()
371 client_ssl_->SetMode(dtls_ ? rtc::SSL_MODE_DTLS : in TestHandshake()
/external/webrtc/webrtc/p2p/base/
Ddtlstransportchannel.cc268 dtls_->SetMode(rtc::SSL_MODE_DTLS); in SetupDtls()