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 /ssl/ssl_lib.c | |
parent | 135883505078a868349e0a3c24514099e3cb2dac (diff) |
Consistently use 'void *' for SSL read, peek and write functions.
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r-- | ssl/ssl_lib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 9a593ed2a5..f8207fa423 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -766,7 +766,7 @@ long SSL_get_default_timeout(SSL *s) return(s->method->get_timeout()); } -int SSL_read(SSL *s,char *buf,int num) +int SSL_read(SSL *s,void *buf,int num) { if (s->handshake_func == 0) { @@ -782,7 +782,7 @@ int SSL_read(SSL *s,char *buf,int num) return(s->method->ssl_read(s,buf,num)); } -int SSL_peek(SSL *s,char *buf,int num) +int SSL_peek(SSL *s,void *buf,int num) { if (s->handshake_func == 0) { @@ -797,7 +797,7 @@ int SSL_peek(SSL *s,char *buf,int num) return(s->method->ssl_peek(s,buf,num)); } -int SSL_write(SSL *s,const char *buf,int num) +int SSL_write(SSL *s,const void *buf,int num) { if (s->handshake_func == 0) { |