Home
last modified time | relevance | path

Searched refs:ssl_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium/net/tools/flip_server/
Dsm_connection.cc50 ssl_(NULL) { in SMConnection()
155 ssl_ = CreateSSLContext(ssl_state_->ssl_ctx); in InitSMConnection()
156 SSL_set_fd(ssl_, fd_); in InitSMConnection()
178 if (ssl_) { in Send()
189 rv = SSL_write(ssl_, ptr, chunksize); in Send()
192 switch (SSL_get_error(ssl_, rv)) { in Send()
310 if (ssl_) { in WasSpdyNegotiated()
313 SSL_get0_next_proto_negotiated(ssl_, &npn_proto, &npn_proto_len); in WasSpdyNegotiated()
332 bool using_ssl = ssl_ != NULL; in SetupProtocolInterfaces()
335 VLOG(1) << (SSL_session_reused(ssl_) ? "Resumed" : "Renegotiated") in SetupProtocolInterfaces()
[all …]
Dsm_connection.h155 SSL* ssl_; variable
/external/chromium/net/socket/
Dssl_client_socket_openssl.cc404 ssl_(NULL), in SSLClientSocketOpenSSL()
419 DCHECK(!ssl_); in Init()
425 ssl_ = SSL_new(context->ssl_ctx()); in Init()
426 if (!ssl_ || !context->SetClientSocketForSSL(ssl_, this)) in Init()
429 if (!SSL_set_tlsext_host_name(ssl_, host_and_port_.host().c_str())) in Init()
433 context->session_cache()->SetSSLSession(ssl_, host_and_port_); in Init()
442 SSL_set_bio(ssl_, ssl_bio, ssl_bio); in Init()
466 SSL_set_options(ssl_, options.set_mask); in Init()
467 SSL_clear_options(ssl_, options.clear_mask); in Init()
487 SSL_set_mode(ssl_, mode.set_mask); in Init()
[all …]
Dssl_client_socket_openssl.h148 SSL* ssl_; variable
/external/chromium/third_party/libjingle/source/talk/base/
Dopensslstreamadapter.cc168 ssl_(NULL), ssl_ctx_(NULL), in OpenSSLStreamAdapter()
240 int code = SSL_write(ssl_, data, data_len); in Write()
241 switch (SSL_get_error(ssl_, code)) { in Write()
300 int code = SSL_read(ssl_, data, data_len); in Read()
301 switch (SSL_get_error(ssl_, code)) { in Read()
440 ssl_ = SSL_new(ssl_ctx_); in BeginSSL()
441 if (!ssl_) { in BeginSSL()
446 SSL_set_app_data(ssl_, this); in BeginSSL()
448 SSL_set_bio(ssl_, bio, bio); // the SSL object owns the bio now. in BeginSSL()
450 SSL_set_mode(ssl_, SSL_MODE_ENABLE_PARTIAL_WRITE | in BeginSSL()
[all …]
Dopenssladapter.cc243 ssl_(NULL), ssl_ctx_(NULL), in OpenSSLAdapter()
296 ssl_ = SSL_new(ssl_ctx_); in BeginSSL()
297 if (!ssl_) { in BeginSSL()
302 SSL_set_app_data(ssl_, this); in BeginSSL()
304 SSL_set_bio(ssl_, bio, bio); in BeginSSL()
305 SSL_set_mode(ssl_, SSL_MODE_ENABLE_PARTIAL_WRITE | in BeginSSL()
331 int code = SSL_connect(ssl_); in ContinueSSL()
332 switch (SSL_get_error(ssl_, code)) { in ContinueSSL()
336 if (!SSLPostConnectionCheck(ssl_, ssl_host_name_.c_str())) { in ContinueSSL()
392 if (ssl_) { in Cleanup()
[all …]
Dopenssladapter.h94 SSL* ssl_; variable
Dopensslstreamadapter.h152 SSL* ssl_; variable
/external/chromium/net/spdy/
Dspdy_network_transaction_unittest.cc232 linked_ptr<SSLSocketDataProvider> ssl_( in AddData() local
235 ssl_->next_proto_status = SSLClientSocket::kNextProtoNegotiated; in AddData()
236 ssl_->next_proto = "spdy/2"; in AddData()
237 ssl_->was_npn_negotiated = true; in AddData()
239 ssl_vector_.push_back(ssl_); in AddData()
241 session_deps_->socket_factory->AddSSLSocketDataProvider(ssl_.get()); in AddData()
259 linked_ptr<SSLSocketDataProvider> ssl_( in AddDeterministicData() local
262 ssl_->next_proto_status = SSLClientSocket::kNextProtoNegotiated; in AddDeterministicData()
263 ssl_->next_proto = "spdy/2"; in AddDeterministicData()
264 ssl_->was_npn_negotiated = true; in AddDeterministicData()
[all …]