Added SSLErr call for internal error in dtls1_buffer_record
This commit is contained in:
parent
8343e6b6b2
commit
5aca5d41c0
@ -231,7 +231,6 @@ dtls1_buffer_record(SSL *s, record_pqueue *queue, unsigned char *priority)
|
|||||||
|
|
||||||
item->data = rdata;
|
item->data = rdata;
|
||||||
|
|
||||||
|
|
||||||
s->packet = NULL;
|
s->packet = NULL;
|
||||||
s->packet_length = 0;
|
s->packet_length = 0;
|
||||||
memset(&(s->s3->rbuf), 0, sizeof(SSL3_BUFFER));
|
memset(&(s->s3->rbuf), 0, sizeof(SSL3_BUFFER));
|
||||||
@ -248,6 +247,7 @@ dtls1_buffer_record(SSL *s, record_pqueue *queue, unsigned char *priority)
|
|||||||
/* insert should not fail, since duplicates are dropped */
|
/* insert should not fail, since duplicates are dropped */
|
||||||
if (pqueue_insert(queue->q, item) == NULL)
|
if (pqueue_insert(queue->q, item) == NULL)
|
||||||
{
|
{
|
||||||
|
SSLerr(SSL_F_DTLS1_BUFFER_RECORD, ERR_R_INTERNAL_ERROR);
|
||||||
OPENSSL_free(rdata);
|
OPENSSL_free(rdata);
|
||||||
pitem_free(item);
|
pitem_free(item);
|
||||||
return(0);
|
return(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user