diff options
author | Ben Laurie <ben@openssl.org> | 1999-01-16 17:28:15 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-01-16 17:28:15 +0000 |
commit | 207ccf628de96481d562b836eea4c3d653a95bfd (patch) | |
tree | c9b5a068000c0a467e5678b73562a3dd8f6c59bd /ssl/s2_pkt.c | |
parent | cd3916c40f96bdb180287c3dcb88102eda91b27f (diff) | |
download | openssl-207ccf628de96481d562b836eea4c3d653a95bfd.tar.gz |
More prototypes.
Diffstat (limited to 'ssl/s2_pkt.c')
-rw-r--r-- | ssl/s2_pkt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ssl/s2_pkt.c b/ssl/s2_pkt.c index e4167b53af..96d9a1be55 100644 --- a/ssl/s2_pkt.c +++ b/ssl/s2_pkt.c @@ -70,8 +70,8 @@ #ifndef NOPROTO static int read_n(SSL *s,unsigned int n,unsigned int max,unsigned int extend); -static int do_ssl_write(SSL *s, char *buf, unsigned int len); -static int write_pending(SSL *s, char *buf, unsigned int len); +static int do_ssl_write(SSL *s, const char *buf, unsigned int len); +static int write_pending(SSL *s, const char *buf, unsigned int len); static int ssl_mt_error(int n); #else static int read_n(); @@ -356,7 +356,7 @@ unsigned int extend; int ssl2_write(s, buf, len) SSL *s; -char *buf; +const char *buf; int len; { unsigned int n,tot; @@ -405,7 +405,7 @@ int len; static int write_pending(s,buf,len) SSL *s; -char *buf; +const char *buf; unsigned int len; { int i; @@ -453,7 +453,7 @@ unsigned int len; static int do_ssl_write(s, buf, len) SSL *s; -char *buf; +const char *buf; unsigned int len; { unsigned int j,k,olen,p,mac_size,bs; |