Deleted Added
full compact
11c11
< int SSL_read(SSL *ssl, char *buf, int num);
---
> int SSL_read(SSL *ssl, void *buf, int num);
21c21,22
< not already explicitly performed by SSL_connect() or SSL_accept(). If the
---
> not already explicitly performed by L<SSL_connect(3)|SSL_connect(3)> or
> L<SSL_accept(3)|SSL_accept(3)>. If the
25a27,33
> For the transparent negotiation to succeed, the B<ssl> must have been
> initialized to client or server mode. This is not the case if a generic
> method is being used (see L<SSL_CTX_new(3)|SSL_CTX_new(3)>, so that
> L<SSL_set_connect_state(3)|SSL_set_connect_state(3)> or SSL_set_accept_state()
> must be used before the first call to an SSL_read() or
> L<SSL_write(3)|SSL_write(3)> function.
>
27c35,38
< read operation has been finished or an error occurred.
---
> read operation has been finished or an error occurred, except when a
> renegotiation take place, in which case a SSL_ERROR_WANT_READ may occur.
> This behaviour can be controlled with the SSL_MODE_AUTO_RETRY flag of the
> L<SSL_CTX_set_mode(3)|SSL_CTX_set_mode(3)> call.
31c42,43
< to continue the operation. In this case a call to SSL_get_error() with the
---
> to continue the operation. In this case a call to
> L<SSL_get_error(3)|SSL_get_error(3)> with the
74a87,89
> L<SSL_CTX_set_mode(3)|SSL_CTX_set_mode(3)>, L<SSL_CTX_new(3)|SSL_CTX_new(3)>,
> L<SSL_connect(3)|SSL_connect(3)>, L<SSL_accept(3)|SSL_accept(3)>
> L<SSL_set_connect_state(3)|SSL_set_connect_state(3)>,