Added comment for the frag->reassembly == NULL case as per feedback from Emilia

Reviewed-by: Emilia Käsper <emilia@openssl.org>
This commit is contained in:
Matt Caswell 2014-07-24 23:33:34 +01:00
parent 2172d4f63c
commit e7b9d9be48

View File

@ -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)
{