diff options
author | Bodo Möller <bodo@openssl.org> | 2001-03-09 10:09:20 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-03-09 10:09:20 +0000 |
commit | e34cfcf7e19b5e5d39c8ba97e6e5f65f23b99ad6 (patch) | |
tree | 481531b740b4a55f2292541092c5ea990d768ad5 /doc | |
parent | 135883505078a868349e0a3c24514099e3cb2dac (diff) |
Consistently use 'void *' for SSL read, peek and write functions.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ssl/SSL_read.pod | 2 | ||||
-rw-r--r-- | doc/ssl/SSL_write.pod | 2 | ||||
-rw-r--r-- | doc/ssl/ssl.pod | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/ssl/SSL_read.pod b/doc/ssl/SSL_read.pod index 91f068a119..7db5ee0a22 100644 --- a/doc/ssl/SSL_read.pod +++ b/doc/ssl/SSL_read.pod @@ -8,7 +8,7 @@ SSL_read - read bytes from a TLS/SSL connection. #include <openssl/ssl.h> - int SSL_read(SSL *ssl, char *buf, int num); + int SSL_read(SSL *ssl, void *buf, int num); =head1 DESCRIPTION diff --git a/doc/ssl/SSL_write.pod b/doc/ssl/SSL_write.pod index 6e3ecffa1a..be1ad76d3b 100644 --- a/doc/ssl/SSL_write.pod +++ b/doc/ssl/SSL_write.pod @@ -8,7 +8,7 @@ SSL_write - write bytes to a TLS/SSL connection. #include <openssl/ssl.h> - int SSL_write(SSL *ssl, char *buf, int num); + int SSL_write(SSL *ssl, const void *buf, int num); =head1 DESCRIPTION diff --git a/doc/ssl/ssl.pod b/doc/ssl/ssl.pod index b0255e3695..aace43f919 100644 --- a/doc/ssl/ssl.pod +++ b/doc/ssl/ssl.pod @@ -544,11 +544,11 @@ connection defined in the B<SSL> structure. =item long B<SSL_num_renegotiations>(SSL *ssl); -=item int B<SSL_peek>(SSL *ssl, char *buf, int num); +=item int B<SSL_peek>(SSL *ssl, void *buf, int num); =item int B<SSL_pending>(SSL *ssl); -=item int B<SSL_read>(SSL *ssl, char *buf, int num); +=item int B<SSL_read>(SSL *ssl, void *buf, int num); =item int B<SSL_renegotiate>(SSL *ssl); @@ -640,7 +640,7 @@ connection defined in the B<SSL> structure. =item int B<SSL_want_x509_lookup>(s); -=item int B<SSL_write>(SSL *ssl, char *buf, int num); +=item int B<SSL_write>(SSL *ssl, const void *buf, int num); =back |