MINOR: buffer: remove bi_end()
It was replaced by ci_tail() when the channel is known, or b_tail() in
other cases.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c
index 60fce0d..56d2eed 100644
--- a/src/ssl_sock.c
+++ b/src/ssl_sock.c
@@ -5376,7 +5376,7 @@
try = count;
if (((conn->flags & (CO_FL_EARLY_SSL_HS | CO_FL_EARLY_DATA)) == CO_FL_EARLY_SSL_HS) &&
conn->tmp_early_data != -1) {
- *bi_end(buf) = conn->tmp_early_data;
+ *b_tail(buf) = conn->tmp_early_data;
done++;
try--;
count--;
@@ -5390,7 +5390,7 @@
size_t read_length;
ret = SSL_read_early_data(conn->xprt_ctx,
- bi_end(buf), try, &read_length);
+ b_tail(buf), try, &read_length);
if (ret == SSL_READ_EARLY_DATA_SUCCESS &&
read_length > 0)
conn->flags |= CO_FL_EARLY_DATA;
@@ -5411,7 +5411,7 @@
}
} else
#endif
- ret = SSL_read(conn->xprt_ctx, bi_end(buf), try);
+ ret = SSL_read(conn->xprt_ctx, b_tail(buf), try);
#ifdef OPENSSL_IS_BORINGSSL
if (conn->flags & CO_FL_EARLY_SSL_HS) {
if (SSL_in_early_data(conn->xprt_ctx)) {