cosmetic changes
This commit is contained in:
parent
bbdb543844
commit
7eea36bb48
@ -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:
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user