diff options
author | Ulf Möller <ulf@openssl.org> | 2001-01-21 19:46:50 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2001-01-21 19:46:50 +0000 |
commit | 9756da13dd4438cf15fda9e224d1b543be17223b (patch) | |
tree | 8018d960aa8b2bf5a3e03cf206b7b3467967f626 /doc/crypto/BIO_new_bio_pair.pod | |
parent | 893b76c54419c5b7a5b864992aa1bad03a4a3698 (diff) |
Use the correct number of arguments in the example.
Diffstat (limited to 'doc/crypto/BIO_new_bio_pair.pod')
-rw-r--r-- | doc/crypto/BIO_new_bio_pair.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/crypto/BIO_new_bio_pair.pod b/doc/crypto/BIO_new_bio_pair.pod index 58a3fb2a9d..1a8dbc577b 100644 --- a/doc/crypto/BIO_new_bio_pair.pod +++ b/doc/crypto/BIO_new_bio_pair.pod @@ -39,7 +39,7 @@ without having to go through the SSL-interface. BIO *internal_bio, *network_bio; ... BIO_new_bio_pair(internal_bio, 0, network_bio, 0); - SSL_set_bio(ssl, internal_bio); + SSL_set_bio(ssl, internal_bio, internal_bio); SSL_operations(); ... @@ -68,7 +68,7 @@ and must be transfered to the network. Use BIO_ctrl_get_read_request() to find out, how many bytes must be written into the buffer before the SSL_operation() can successfully be continued. -=head1 IMPORTANT +=head1 WARNING As the data is buffered, SSL_operation() may return with a ERROR_SSL_WANT_READ condition, but there is still data in the write buffer. An application must |