Remove superfluous check
authorMatt Caswell <matt@openssl.org>
Mon, 26 Oct 2015 14:05:43 +0000 (14:05 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 30 Oct 2015 08:39:47 +0000 (08:39 +0000)
commit956de7b2873e0dde61b287049cd0eb35756b6207
tree1848f7baba803cfc77aa1e04e08ebb6b3ac8cc9f
parentfed1767436f626bc43140182442567340bd8bd34
Remove superfluous check

|tls_process_finished| was checking that |peer_finish_md_len| was
non-negative. However neither |tls1_final_finish_mac| or
|ssl3_final_finish_mac| can ever return a negative value, so the check is
superfluous.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/statem/statem_lib.c