Remove an OPENSSL_assert() and replace with a soft assert and check
authorMatt Caswell <matt@openssl.org>
Fri, 3 Feb 2017 14:54:43 +0000 (14:54 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 16 Feb 2017 09:39:06 +0000 (09:39 +0000)
commit60747ea22f8b25b2a7e54e7fe4ad47dfe8f93383
treeebd5ea7fc42147cfa5eb85131e769ef8f8ce4702
parent4ad93618d26a3ea23d36ad5498ff4f59eff3a4d2
Remove an OPENSSL_assert() and replace with a soft assert and check

Following on from CVE-2017-3733, this removes the OPENSSL_assert() check
that failed and replaces it with a soft assert, and an explicit check of
value with an error return if it fails.

Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/record/ssl3_record.c