From: Richard Levitte Date: Tue, 13 Apr 2010 08:41:58 +0000 (+0000) Subject: Third argument to dtls1_buffer_record is by reference X-Git-Tag: OpenSSL_1_0_0a~47 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7bba401d5dd63d0f280965743ec837604d5179eb;p=oweals%2Fopenssl.git Third argument to dtls1_buffer_record is by reference --- diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c index 20d24b6fd8..3d5b32e978 100644 --- a/ssl/d1_pkt.c +++ b/ssl/d1_pkt.c @@ -673,7 +673,7 @@ again: { 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; s->packet_length = 0; @@ -809,7 +809,7 @@ start: * buffer the application data for later processing rather * 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; goto start; }