projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update dependencies.
[oweals/openssl.git]
/
ssl
/
s23_pkt.c
diff --git
a/ssl/s23_pkt.c
b/ssl/s23_pkt.c
index c25c3127725d20b16e5578c6eed88ab0f89ea5a7..64acf2ce7d366d842b9450425aab9ed84a71eda9 100644
(file)
--- a/
ssl/s23_pkt.c
+++ b/
ssl/s23_pkt.c
@@
-63,8
+63,7
@@
#include "buffer.h"
#include "ssl_locl.h"
#include "buffer.h"
#include "ssl_locl.h"
-int ssl23_write_bytes(s)
-SSL *s;
+int ssl23_write_bytes(SSL *s)
{
int i,num,tot;
char *buf;
{
int i,num,tot;
char *buf;
@@
-76,7
+75,7
@@
SSL *s;
{
s->rwstate=SSL_WRITING;
i=BIO_write(s->wbio,&(buf[tot]),num);
{
s->rwstate=SSL_WRITING;
i=BIO_write(s->wbio,&(buf[tot]),num);
- if (i < 0)
+ if (i <
=
0)
{
s->init_off=tot;
s->init_num=num;
{
s->init_off=tot;
s->init_num=num;
@@
-91,9
+90,7
@@
SSL *s;
}
/* only return when we have read 'n' bytes */
}
/* only return when we have read 'n' bytes */
-int ssl23_read_bytes(s,n)
-SSL *s;
-int n;
+int ssl23_read_bytes(SSL *s, int n)
{
unsigned char *p;
int j;
{
unsigned char *p;
int j;