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 20:41:23 +0100
commitea7cb5397457c59554155935b677a1dab23bd864 (patch)
tree3610199866c064da948093371f86ab93b4e69da8 /ssl/d1_both.c
parent49850075555893c9c60d5b981deb697f3b9515ea (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 b720a54311..d98ae9392f 100644
--- a/ssl/d1_both.c
+++ b/ssl/d1_both.c
@@ -644,7 +644,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)
{