Commit 9756da13 authored by Ulf Möller's avatar Ulf Möller
Browse files

Use the correct number of arguments in the example.

parent 893b76c5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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