From 0c8c8eab580bb05c636cb9671093c53e9027d225 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 13 Apr 2010 08:42:01 +0000 Subject: [PATCH] Third argument to dtls1_buffer_record is by reference --- ssl/d1_pkt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c index 0326535e8..57109c3ba 100644 --- a/ssl/d1_pkt.c +++ b/ssl/d1_pkt.c @@ -631,7 +631,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; @@ -767,7 +767,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; }