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.h | |
parent | 135883505078a868349e0a3c24514099e3cb2dac (diff) | |
download | openssl-new-e34cfcf7e19b5e5d39c8ba97e6e5f65f23b99ad6.tar.gz |
Consistently use 'void *' for SSL read, peek and write functions.
Diffstat (limited to 'ssl/ssl.h')
-rw-r--r-- | ssl/ssl.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -226,7 +226,7 @@ typedef struct ssl_method_st int (*ssl_accept)(SSL *s); int (*ssl_connect)(SSL *s); int (*ssl_read)(SSL *s,void *buf,int len); - int (*ssl_peek)(SSL *s,char *buf,int len); + int (*ssl_peek)(SSL *s,void *buf,int len); int (*ssl_write)(SSL *s,const void *buf,int len); int (*ssl_shutdown)(SSL *s); int (*ssl_renegotiate)(SSL *s); @@ -1102,9 +1102,9 @@ int SSL_set_trust(SSL *s, int trust); void SSL_free(SSL *ssl); int SSL_accept(SSL *ssl); int SSL_connect(SSL *ssl); -int SSL_read(SSL *ssl,char *buf,int num); -int SSL_peek(SSL *ssl,char *buf,int num); -int SSL_write(SSL *ssl,const char *buf,int num); +int SSL_read(SSL *ssl,void *buf,int num); +int SSL_peek(SSL *ssl,void *buf,int num); +int SSL_write(SSL *ssl,const void *buf,int num); long SSL_ctrl(SSL *ssl,int cmd, long larg, char *parg); long SSL_callback_ctrl(SSL *, int, void (*)()); long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, char *parg); |