mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
dtls1_write_bytes consumers expect amount of bytes written per call, not
overall. PR: 1604
This commit is contained in:
parent
e65bcbcef0
commit
51ec776b7d
@ -1294,7 +1294,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)
|
||||
|
Loading…
Reference in New Issue
Block a user