summaryrefslogtreecommitdiff
path: root/ssl/ssl.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-09 10:09:20 +0000
committerBodo Möller <bodo@openssl.org>2001-03-09 10:09:20 +0000
commite34cfcf7e19b5e5d39c8ba97e6e5f65f23b99ad6 (patch)
tree481531b740b4a55f2292541092c5ea990d768ad5 /ssl/ssl.h
parent135883505078a868349e0a3c24514099e3cb2dac (diff)
downloadopenssl-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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/ssl.h b/ssl/ssl.h
index fa0e658bb8..457e7efcb7 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -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);