Commit 51ec776b authored by Andy Polyakov's avatar Andy Polyakov
Browse files

dtls1_write_bytes consumers expect amount of bytes written per call, not

overall.
PR: 1604
parent e65bcbce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)