From 7eea36bb48362256c229f64e980c498ba8db9d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Mon, 12 Jul 1999 18:50:34 +0000 Subject: [PATCH] cosmetic changes --- crypto/bio/bss_bio.c | 2 +- ssl/ssltest.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/crypto/bio/bss_bio.c b/crypto/bio/bss_bio.c index 8590870e2c..b6ce509564 100644 --- a/crypto/bio/bss_bio.c +++ b/crypto/bio/bss_bio.c @@ -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; } diff --git a/ssl/ssltest.c b/ssl/ssltest.c index 2648304911..9a8f90bb8e 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -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: * -- GitLab