cosmetic changes
authorBodo Möller <bodo@openssl.org>
Mon, 12 Jul 1999 18:50:34 +0000 (18:50 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 12 Jul 1999 18:50:34 +0000 (18:50 +0000)
crypto/bio/bss_bio.c
ssl/ssltest.c

index 8590870e2cd17630eb8ca30cefdfc5eec7cf2a81..b6ce509564f41b816a8217347d1c7ff6fcbd64da 100644 (file)
@@ -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;
                        }
index 26483049115c277f3599f2aa5207e3bcecf80675..9a8f90bb8eb222f2d6e7eb924edb27d976f6bb47 100644 (file)
@@ -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:
                 *