diff options
author | Ben Laurie <ben@openssl.org> | 1999-04-23 15:01:15 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-04-23 15:01:15 +0000 |
commit | 61f5b6f33807306d09bccbc2dcad474d1d04ca40 (patch) | |
tree | 1680fa648df5f730df11ec433a512a1fadf0facd /ssl/s23_lib.c | |
parent | 779cc0bca98e35830db455f34b986b86a2d2f822 (diff) |
Work with -pedantic!
Diffstat (limited to 'ssl/s23_lib.c')
-rw-r--r-- | ssl/s23_lib.c | 8 |
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; |