projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8343e6b
)
Added SSLErr call for internal error in dtls1_buffer_record
author
Matt Caswell
<matt@openssl.org>
Sun, 1 Jun 2014 20:43:51 +0000
(21:43 +0100)
committer
Matt Caswell
<matt@openssl.org>
Sun, 1 Jun 2014 20:43:51 +0000
(21:43 +0100)
ssl/d1_pkt.c
patch
|
blob
|
history
diff --git
a/ssl/d1_pkt.c
b/ssl/d1_pkt.c
index 5d0075cca8c94f934a7b1a60a06b7a9019055e34..3615423f69571fcf7a6c89a9d0ab9f75b5188af1 100644
(file)
--- 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);