Third argument to dtls1_buffer_record is by reference
authorRichard Levitte <levitte@openssl.org>
Tue, 13 Apr 2010 08:42:01 +0000 (08:42 +0000)
committerRichard Levitte <levitte@openssl.org>
Tue, 13 Apr 2010 08:42:01 +0000 (08:42 +0000)
ssl/d1_pkt.c

index 0326535e8dc54d8981be9f90dec5cd0e8684e5a8..57109c3bae76dd8ce9e722414b348594053fa77e 100644 (file)
@@ -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;
                }