summaryrefslogtreecommitdiffstats
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 20:27:51 +0100
commite7b9d9be48cdc598a46c8e1536035ed29a9af254 (patch)
tree176f7249b2864ef67fe1b5c54ca1a402dd096574
parent2172d4f63c61922487008f42511cc6bdae9b47a0 (diff)
Added comment for the frag->reassembly == NULL case as per feedback from Emilia
Reviewed-by: Emilia Käsper <emilia@openssl.org>
-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 cdb83b6558..6559dfcd01 100644
--- a/ssl/d1_both.c
+++ b/ssl/d1_both.c
@@ -639,7 +639,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)
{