Remove a trivially true OPENSSL_assert
authorMatt Caswell <matt@openssl.org>
Fri, 30 Oct 2015 16:39:29 +0000 (16:39 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 2 Nov 2015 14:29:37 +0000 (14:29 +0000)
commit267b7789f83f7177c96a308a7b30ce4c234ceb52
treefc4f4ee4e28e58c30d4543ec7a8d52fc27f1a0fd
parent9f07c405bb66d4cba03b00f3a3c1df8bee300120
Remove a trivially true OPENSSL_assert

This OPENSSL_assert in (d)tls1_hearbeat is trivially always going to be
true because it is testing the sum of values that have been set as
constants just a few lines above and nothing has changed them. Therefore
remove this.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/d1_lib.c
ssl/t1_lib.c