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:36:40 +0100
commit11e7982a7cc6cbbcbb13046ceed37639c26a0bc1 (patch)
tree028f48e90d487eba419e3b244c53aed9e9c2f6eb /ssl/d1_both.c
parentbff1ce4e6a1c57c3d0a5f9e4f85ba6385fccfe8b (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)
{