summaryrefslogtreecommitdiffstats
path: root/ssl/s23_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/s23_lib.c')
-rw-r--r--ssl/s23_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/s23_lib.c b/ssl/s23_lib.c
index 4d58558522..c4064726fb 100644
--- a/ssl/s23_lib.c
+++ b/ssl/s23_lib.c
@@ -63,8 +63,8 @@
#ifndef NOPROTO
static int ssl23_num_ciphers(void );
static SSL_CIPHER *ssl23_get_cipher(unsigned int u);
-static int ssl23_read(SSL *s, char *buf, int len);
-static int ssl23_write(SSL *s, const char *buf, int len);
+static int ssl23_read(SSL *s, void *buf, int len);
+static int ssl23_write(SSL *s, const void *buf, int len);
static long ssl23_default_timeout(void );
static int ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p);
static SSL_CIPHER *ssl23_get_cipher_by_char(const unsigned char *p);
@@ -163,7 +163,7 @@ static int ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p)
return(3);
}
-static int ssl23_read(SSL *s, char *buf, int len)
+static int ssl23_read(SSL *s, void *buf, int len)
{
int n;
@@ -193,7 +193,7 @@ static int ssl23_read(SSL *s, char *buf, int len)
}
}
-static int ssl23_write(SSL *s, const char *buf, int len)
+static int ssl23_write(SSL *s, const void *buf, int len)
{
int n;