summaryrefslogtreecommitdiffstats
path: root/ssl/d1_both.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2014-07-24 23:33:34 +0100
committerMatt Caswell <matt@openssl.org>2014-08-06 22:02:00 +0100
commit6a431cd293b283b0c7d2b40faa77f8244a27462f (patch)
tree1420291db886f6064bf3aa2eb456ca0f6020f9c9 /ssl/d1_both.c
parent1b7024fb69161619855d86b80ae0681ea802e245 (diff)
Added comment for the frag->reassembly == NULL case as per feedback from Emilia
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'ssl/d1_both.c')
-rw-r--r--ssl/d1_both.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c
index b808f04496..9bc416c1c1 100644
--- a/ssl/d1_both.c
+++ b/ssl/d1_both.c
@@ -633,7 +633,8 @@ dtls1_reassemble_fragment(SSL *s, struct hm_header_st* msg_hdr, int *ok)
/* If message is already reassembled, this must be a
- * retransmit and can be dropped.
+ * retransmit and can be dropped. In this case item != NULL and so frag
+ * does not need to be freed.
*/
if (frag->reassembly == NULL)
{