From 5aca5d41c0a99c8bfe9b0985a62b39bbed9eb13d Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Sun, 1 Jun 2014 21:43:51 +0100 Subject: [PATCH] Added SSLErr call for internal error in dtls1_buffer_record --- ssl/d1_pkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c index 5d0075cca8..3615423f69 100644 --- a/ssl/d1_pkt.c +++ b/ssl/d1_pkt.c @@ -231,7 +231,6 @@ dtls1_buffer_record(SSL *s, record_pqueue *queue, unsigned char *priority) item->data = rdata; - s->packet = NULL; s->packet_length = 0; 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 */ if (pqueue_insert(queue->q, item) == NULL) { + SSLerr(SSL_F_DTLS1_BUFFER_RECORD, ERR_R_INTERNAL_ERROR); OPENSSL_free(rdata); pitem_free(item); return(0); -- 2.25.1