Remove some duplicate DTLS code.
authorAdam Langley <agl@imperialviolet.org>
Fri, 6 Jun 2014 21:47:07 +0000 (14:47 -0700)
committerMatt Caswell <matt@openssl.org>
Wed, 6 Aug 2014 21:02:00 +0000 (22:02 +0100)
commit4c836c96c4ec507040ed9149acacddc40399155d
treee9b476f955d6ede58d008fd1ccd2aae0fa0f1631
parent6e14e7fc19ab8c16ec7e7cb69404b96cf591a575
Remove some duplicate DTLS code.

In |dtls1_process_out_of_seq_message|, we know that
|frag_len| <= |msg_hdr->msg_len| so the later tests for |frag_len <
msg_hdr->msg_len| can be more clearly written as |frag_len !=
msg_hdr->msg_len|, since that's the only remaining case.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
ssl/d1_both.c