Third argument to dtls1_buffer_record is by reference
This commit is contained in:
parent
c73cff12f1
commit
7bba401d5d
@ -673,7 +673,7 @@ again:
|
|||||||
{
|
{
|
||||||
if (SSL_in_init(s) || s->in_handshake)
|
if (SSL_in_init(s) || s->in_handshake)
|
||||||
{
|
{
|
||||||
dtls1_buffer_record(s, &(s->d1->unprocessed_rcds), rr->seq_num);
|
dtls1_buffer_record(s, &(s->d1->unprocessed_rcds), &rr->seq_num);
|
||||||
}
|
}
|
||||||
rr->length = 0;
|
rr->length = 0;
|
||||||
s->packet_length = 0;
|
s->packet_length = 0;
|
||||||
@ -809,7 +809,7 @@ start:
|
|||||||
* buffer the application data for later processing rather
|
* buffer the application data for later processing rather
|
||||||
* than dropping the connection.
|
* than dropping the connection.
|
||||||
*/
|
*/
|
||||||
dtls1_buffer_record(s, &(s->d1->buffered_app_data), rr->seq_num);
|
dtls1_buffer_record(s, &(s->d1->buffered_app_data), &rr->seq_num);
|
||||||
rr->length = 0;
|
rr->length = 0;
|
||||||
goto start;
|
goto start;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user