Added SSLErr call for internal error in dtls1_buffer_record

(Imported from upstream's de8a5b523f38377c8e0d9098ebff880749156db6)
This commit is contained in:
Adam Langley 2014-06-20 12:00:00 -07:00
parent 3a54f9e015
commit d74d7d030c

View File

@ -247,6 +247,7 @@ dtls1_buffer_record(SSL *s, record_pqueue *queue, unsigned char *priority)
/* insert should not fail, since duplicates are dropped */
if (pqueue_insert(queue->q, item) == NULL)
{
OPENSSL_PUT_ERROR(SSL, dtls1_buffer_record, ERR_R_INTERNAL_ERROR);
OPENSSL_free(rdata);
pitem_free(item);
return(0);