dtls1_write_bytes consumers expect amount of bytes written per call, not

overall [from HEAD].
PR: 1604
This commit is contained in:
Andy Polyakov
2008-09-14 17:57:03 +00:00
parent 1af12ff1d1
commit 54d6ddba69

View File

@@ -1259,7 +1259,7 @@ int dtls1_write_bytes(SSL *s, int type, const void *buf_, int len)
else
s->s3->wnum += i;
return tot + i;
return i;
}
int do_dtls1_write(SSL *s, int type, const unsigned char *buf, unsigned int len, int create_empty_fragment)