Lines Matching refs:ssl_
120 std::unique_ptr<SSL, decltype(&SSL_free)> ssl_{nullptr, SSL_free};
139 ssl_.reset(); in ~TlsStreamImpl()
150 int ret = SSL_read(ssl_.get(), buffer, size_int); in ReadNonBlocking()
158 int err = SSL_get_error(ssl_.get(), ret); in ReadNonBlocking()
187 int ret = SSL_write(ssl_.get(), buffer, size_int); in WriteNonBlocking()
193 int err = SSL_get_error(ssl_.get(), ret); in WriteNonBlocking()
217 int ret = SSL_shutdown(ssl_.get()); in Close()
223 int err = SSL_get_error(ssl_.get(), ret); in Close()
253 if (is_read && SSL_pending(ssl_.get()) > 0) { in WaitForData()
270 if (is_read && SSL_pending(ssl_.get()) > 0) { in WaitForDataBlocking()
376 ssl_.reset(SSL_new(ctx_.get())); in Init()
380 SSL_set_info_callback(ssl_.get(), TlsInfoCallback); in Init()
383 SSL_set_bio(ssl_.get(), stream_bio_, stream_bio_); in Init()
384 SSL_set_connect_state(ssl_.get()); in Init()
412 int res = SSL_do_handshake(ssl_.get()); in DoHandshake()
419 int err = SSL_get_error(ssl_.get(), res); in DoHandshake()