Fix warnings (From HEAD, original patch by Ben).
This commit is contained in:
@@ -296,9 +296,6 @@ dtls1_process_buffered_records(SSL *s)
|
||||
item = pqueue_peek(s->d1->unprocessed_rcds.q);
|
||||
if (item)
|
||||
{
|
||||
DTLS1_RECORD_DATA *rdata;
|
||||
rdata = (DTLS1_RECORD_DATA *)item->data;
|
||||
|
||||
/* Check if epoch is current. */
|
||||
if (s->d1->unprocessed_rcds.epoch != s->d1->r_epoch)
|
||||
return(1); /* Nothing to do. */
|
||||
@@ -528,14 +525,12 @@ int dtls1_get_record(SSL *s)
|
||||
int ssl_major,ssl_minor;
|
||||
int i,n;
|
||||
SSL3_RECORD *rr;
|
||||
SSL_SESSION *sess;
|
||||
unsigned char *p = NULL;
|
||||
unsigned short version;
|
||||
DTLS1_BITMAP *bitmap;
|
||||
unsigned int is_next_epoch;
|
||||
|
||||
rr= &(s->s3->rrec);
|
||||
sess=s->session;
|
||||
|
||||
/* The epoch may have changed. If so, process all the
|
||||
* pending records. This is a non-blocking operation. */
|
||||
|
||||
Reference in New Issue
Block a user