Home
last modified time | relevance | path

Searched refs:ssl_ret (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/tool/
Dclient.cc213 int ssl_ret = SSL_read(ssl, buffer, sizeof(buffer)); in WaitForSession() local
215 if (ssl_ret <= 0) { in WaitForSession()
216 int ssl_err = SSL_get_error(ssl, ssl_ret); in WaitForSession()
220 PrintSSLError(stderr, "Error while reading", ssl_err, ssl_ret); in WaitForSession()
309 int ssl_ret = SSL_write(ssl.get(), early_data.data(), ed_size); in DoConnection() local
310 if (ssl_ret <= 0) { in DoConnection()
311 int ssl_err = SSL_get_error(ssl.get(), ssl_ret); in DoConnection()
312 PrintSSLError(stderr, "Error while writing", ssl_err, ssl_ret); in DoConnection()
314 } else if (ssl_ret != ed_size) { in DoConnection()
Dtransport_common.cc706 int ssl_ret = in TransferData() local
708 if (ssl_ret <= 0) { in TransferData()
709 int ssl_err = SSL_get_error(ssl, ssl_ret); in TransferData()
713 PrintSSLError(stderr, "Error while writing", ssl_err, ssl_ret); in TransferData()
716 if (ssl_ret != static_cast<int>(pending_write_len)) { in TransferData()
726 int ssl_ret = SSL_read(ssl, buffer, sizeof(buffer)); in TransferData() local
728 if (ssl_ret < 0) { in TransferData()
729 int ssl_err = SSL_get_error(ssl, ssl_ret); in TransferData()
733 PrintSSLError(stderr, "Error while reading", ssl_err, ssl_ret); in TransferData()
735 } else if (ssl_ret == 0) { in TransferData()
[all …]
Dserver.cc185 int ssl_ret = in HandleWWW() local
187 if (ssl_ret <= 0) { in HandleWWW()
188 int ssl_err = SSL_get_error(ssl, ssl_ret); in HandleWWW()
189 PrintSSLError(stderr, "Error while reading", ssl_err, ssl_ret); in HandleWWW()
192 request_len += static_cast<size_t>(ssl_ret); in HandleWWW()