提交 7eea36bb 编写于 作者: B Bodo Möller

cosmetic changes

上级 bbdb5438
......@@ -374,7 +374,7 @@ static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr)
case BIO_CTRL_PENDING:
if (b->peer != NULL)
{
struct bio_bio_st *peer_b =b->peer->ptr;
struct bio_bio_st *peer_b = b->peer->ptr;
ret = (long) peer_b->len;
}
......
......@@ -448,6 +448,9 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count)
* BIO pairs are symmetric. A BIO pair behaves similar
* to a non-blocking socketpair (but both endpoints must
* be handled by the same thread).
* [Here we could connect client and server to the ends
* of a single BIO pair, but then this code would be less
* suitable as an example for BIO pairs in general.]
*
* Useful functions for querying the state of BIO pair endpoints:
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册